states.split()
will return
['Alaska',
'Alabama',
'Arkansas',
'American',
'Samoa',
'Arizona',
'California',
'Colorado']
If you need one random from them, then you have to use the random
module:
import random
states = "... ..."
random_state = random.choice(states.split())