Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Mr. V made this!
print("Hello, welcome to my riddle game!\n\n") # example of newlines
score = 0
# first question
answer = input("what is something you can catch but not throw?")
if answer == "a cold":
    print("You're right!")
    print("Great job!")
    print("you are ssoooo good at riddles!")
    score = score + 1
else:
    print("oof")
    print("ouchie")
# next question!
answer = input("what is the powerhouse of the cell?")
if answer == "mitochondria":
    print("You're right!!!!!")
    score = score + 1
else:
    print("You're ... not right. The answer was mitochondria")
print("Thanks for playing!")
Python 3.6.1 (default, Dec 2015, 13:05:11) [GCC 4.8.2] on linux