Skip to content

Instantly share code, notes, and snippets.

@15nmcgoldrick
Last active October 25, 2016 09:28
Show Gist options
  • Save 15nmcgoldrick/aca3ed16cd2a44f21fd8bf96791c88c3 to your computer and use it in GitHub Desktop.
Save 15nmcgoldrick/aca3ed16cd2a44f21fd8bf96791c88c3 to your computer and use it in GitHub Desktop.
print("welcome to the german test. there will be 10 questions. good luck!")
#make sure to type out your answers in german not english
print("question 1")
print("how do you say dog in german")
answer=input(" ")
if answer == "hund":
print("correct")
else:
print("X")
print("question 2")
print("how do you say blue in german")
answer=input(" ")
if answer == "blau":
print("correct")
else:
print("X")
print("question 3")
print("how do you say bye in german")
answer=input(" ")
if answer == "tchuss":
print("correct")
else:
print("X")
print("question 4")
print("what is the capital of germany")
answer=input(" ")
if answer == "berlin":
print("correct")
else:
print("X")
print("question 5")
print("how do you say good morning in german")
answer=input(" ")
if answer == "guten morgen":
print("correct")
else:
print("X")
print("question 6")
print("how do you say Germany in german")
answer=input(" ")
if answer == "Deutschland":
print("correct")
else:
print("X")
print("question 7")
print("how do you say black in german")
answer=input(" ")
if answer == "schwarz":
print("correct")
else:
print("X")
print("question 8")
print("how do you say white in german")
answer=input(" ")
if answer == "white":
print("correct")
else:
print("X")
print("question 9")
print("how do you say my favourite colour is in german")
answer=input(" ")
if answer == "Meine Lieblingsfarbe ist":
print("correct")
else:
print("X")
print("you have reached the end of the test if you got 3 or more questions wrong learn from your mistakes and learn what you didnt know before taking this test")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment