Skip to content

Instantly share code, notes, and snippets.

@bee-san
Last active November 16, 2015 21:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bee-san/5c6acc002501fa0b6d0b to your computer and use it in GitHub Desktop.
Save bee-san/5c6acc002501fa0b6d0b to your computer and use it in GitHub Desktop.
__author__ = 'rhien'
#my_boo = "answer"
# not actally used in program
# weird variable names
# You declared a variable 3 times, super inefficent and not needed
# too long, line break like this
print("This is a quiz on world War II. You will learn about WW2 and "
"then you will be quized, so make sure to pay attention!")
print("For every question answer by typing yes or no and then press enter.")
input("Press enter to play ")
# space makes the user think they can enter text
# User needs to press enter to activate input
# no need to make this a variable as its not used
print("WW2 was a war between two alliances. One called The Triple Entente; made up "
"of Germany, Austria- Hungary and Italy.")
print("The other was called Triple Entente; made up of Enlgand, France and Russia.")
input("Got it? ")
# you're using the input wrong, don't create variables
# you can however use the input to get them to answer questions etc
print("WW2 took place all across the world, but mainly in Europe.")
input("Ready for the next fact? ")
print("The Blitz was where every evening in the year 1940 from 7th September till 18th August the "
"Germans bombed England mainly London.")
print("It distroyed bulidings and over 87,000 people died!")
input("Next? ")
print("Children were evacuated so that they wouldn't get harmed especially because of the Blitz.")
input("Got it? ")
print("ps. this is not finished yet.")
input("Any key to exit.")
# Console based Python (not Pycharm) will go through all of this and dissapear, use this last input to make sure the user
# gets a choice of when to exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment