GetString, list of strings only shows as single characters

I want to get string from user to choose the region between two options (USA and Europe) I use this code:

import rhinoscriptsyntax as rs
test = rs.GetString("Select the region", "USA", "Euroup")

but in click-able command options, It shows (E u r o p) instead of (Europe)
something like this appear in command prompt:

Select the region: <USA> (E u r o p)

Would you please help me?
Thanks
Mohammad (new to scripting)

import rhinoscriptsyntax as rs
test = rs.GetString("Select the region", "USA", ["USA","Europe"] )

the first USA is your “Standard” answer. your default. The options should be in an array []

2 Likes

GREAT, Thanks a lot @jordy1989 :smile:

I improve my code like this:

import rhinoscriptsyntax as rs

arrRegions = ["Europe", "USA"]
strRegion = rs.GetString("Select the region",regions[0] , regions )