Text Size
Text Size
Exit Full Screen
Python Mini
Show
Source Code
View Source Code in Full Screen
Open in New Tab
score=0 answer= raw_input ("How many hearts does a octpus have?") if answer == ("3"): score = score +1 answer= raw_input ("How many planets are in the solar system?") if answer == ("8"): score = score +1 answer= raw_input ("Who discovered electricity?") if answer == ("Benjamim Franklin"): score = score +1 print "your score is", score
ScienceTRIVIA.py
( around 11 lines python code )
Published By:
keels
Published on
2017-08-03T19:21:21Z
Python Mini
- an
OYOclass
application,
own your own class today
.
Run
Result
×
Error message shows here