Text Size
Text Size
Exit Full Screen
Python Mini
Show
Source Code
View Source Code in Full Screen
Open in New Tab
answer1=input("How many cents is a quarter worth?") answer1=int(answer1) if answer1==25: print("Correct") else: print("Incorrect") answer2=input("What programming language is Hatch?") if answer2=="block code" or answer2=="Block code": print("Correct") else: print("Incorrect") answer3=input("How old are you(years) when you are born?") if answer3=="0 years" or answer3=="0 years old" or answer3=="0": print("Correct") else: print("Incorrect")
Trivia.py
( around 16 lines python code )
Published By:
SpooderMan
Published on
2023-01-12T17:05:53Z
Python Mini
- an
OYOclass
application,
own your own class today
.
Run
Result
×
Error message shows here