Created
November 13, 2023 21:10
-
-
Save NicholasLeader/6af65c670d995c837aff2f342d9df676 to your computer and use it in GitHub Desktop.
Randomly return an item from an array / list in Python
This file contains 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 secrets | |
import datetime | |
today = datetime.date.today() | |
roomcleantasks = ["trash","books","stuffies","coloringbooks/magazines","clothes"] | |
print("") | |
print("For" + " " + str(today) + ", " + "Please pick-up" + " " + secrets.choice(roomcleantasks) + "!") | |
print("") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment