Last active
October 16, 2020 07:30
-
-
Save akionsight/12cad14db094c09f1fb460f28a6dcddc to your computer and use it in GitHub Desktop.
test random.choice
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
list_of_movies_to_watch = ['harry potter', 'percy jackson', 'the matrix', 'men in black'] | |
print(random.choice(list_of_movies_to_watch)) | |
## any of the following movies will printed eg 'the matrix' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment