On Sat, Mar 24, 2012 at 03:10, Aloke Ghosh <akgho...@gmail.com> wrote: > Hi, > I am learning Python and do not have programming experience. > I was following an exercise from > http://learnpythonthehardway.org/book/ex2.html > and made a mistake in entry : > > *Print"I like typing this."* > > and got the following error message: > > *In [2]: Print"I like typing this."* > *------------------------------------------------------------* > * File "<ipython console>", line 1* > * Print"I like typing this."* > * ^* > *SyntaxError: invalid syntax* > > I feel the error is in Capital P in print . > However the error indicated with "*^*" > hints at quote at the end of the line.
You are right about the errors, capital "P" and "*" On the console if you retry as below it should return only the contents within quotes as output, like this: >>> print "I like typing this." I like typing this. HTH, -- ॥ स्वक्ष ॥ http://svaksha.com ॥ _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers