+ 1

Why does not it work for me raw_input? Always gives me error . In python

python raw_input

24th Nov 2016, 4:26 AM
jesus gonzalez rondon
jesus gonzalez rondon - avatar
2 Antworten
+ 3
raw_input() was used in old versions of Python that is 2.x If you are coding in PC check which version of Python is installed. If your version in 3.x you can use simply input() in the place of raw_input(). Happy codding..
24th Nov 2016, 5:17 AM
Anil Krishna Raj
Anil Krishna Raj - avatar
+ 1
Certify you're using python 2.7, raw_input() was removed on python 3+.
24th Nov 2016, 5:02 AM
Wagner Silvestre Wuchryn Martins
Wagner Silvestre Wuchryn Martins - avatar