Aug-07-2018, 05:23 PM
using list and
random.choice()
import random cookies = ["For hate is never conquered by hate. Hate is conquered by love.", "Your worst enemy has a crush on you!", "You will make many changes before settling down happily.", "If you have something worth fighting for, then fight for it.", "In music, one must think with his heart and feel with his brain."] # choosing one randomly cookie = random.choice(cookies) print(cookie)
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs