User Profile
Collapse
-
Sorry answered my own question. Thanks for the help to both of you... -
Will this only work with integers or can I assign a string to the integers?...Leave a comment:
-
-
generating random answers from a list
I am trying to write a script that allows input of raw question and returns a random answer from a list of 20 possibilities. Ihave the raw_input ok but the list is where I am having a problem. I have the list as tuple, dictionary and list. I can't assign a number variable to any of the list choices. Any help on how to parse strings in a list to print randomly?
No activity results to display
Show More
Leave a comment: