0
'da çalıştırmaya çalışıyorum Bu işlevi python 3.4 sürümünde çalıştırmaya çalışıyorum.Bu işlevi python 3.4 sürüm
tries = 0
answer = "Watson"
while(tries <= 3):
print("What is the name of the computer that played on Jeopardy?")
response = raw_input()
tries = tries + 1
if (response == "Watson"):
print("That is right!")
break;
elif (tries == 3):
print("Sorry. The answer is Watson.")
break;
else:
print("Sorry. Try again.")
bir hata alıyorum:
NameError: name 'raw_input' is not defined
Ben input()
değil raw_input()
olan Python 3 piton sürümü 3.4
teşekkür ederim – error2007s