[Tutor] syntax error with raw input
Vaibhav Banait
careendoscopy at gmail.com
Wed Nov 12 12:08:51 CET 2014
Hi
I am new to python. I learnt (!) using raw_input a day back. Attempt to
use has resulted in error. I am not able to spot a problem in syntax. I am
using python 3.4.2. Kindly help
a = raw_input("Write down your name: ")
Output:
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
a = raw_input("Write down your name: ")
NameError: name 'raw_input' is not defined
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20141112/d91b53ef/attachment.html>
More information about the Tutor
mailing list