I just finished another assignment and I can't figure out why this none keeps appearing after you enter a language:
while True:
print"Hello, how are you?"
language=raw_input("Pick a language: french, german, hungarian, dutch: ")
if"french"in language:
def function():
print"Bonjour, comment allez-vous?"
elif"german"in language:
def function():
print"Hallo, wie geht es Ihnen?"
elif"hungarian"in language:
def function():
print"Szia, hogy vagy?"
elif"dutch"in language:
def function():
print"Hello, hoe zijn u?"
# main
print function()