The assignment is not correct itself. Stating "input" before parenthesis indicates you will enter a number but they wrote a word in the next line. To write a word you need to use "raw_input".
10/21/2016 12:13:02 AM
this is python 3
in python 3 there is no raw_input()
you have to use input() instead
anyway input() on python 3 work as same as raw_input() in python 2
so the question is correct
I knew the syntax is different from Python 2.7 I learned from but I didn't know this. Thanks!
GET THE FREE APP
Learn Playing. Play Learning
Send us a message