Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # random_element.py
- import random
- myStr = 'a string variable'
- print random.choice([1,2,3,4,5,6,7,8,9,'qwerty','hello world',12,'python','simplicity', myStr])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement