Python Print Error
Joel Goldstick
joel.goldstick at gmail.com
Thu Jul 28 14:00:33 EDT 2016
On Thu, Jul 28, 2016 at 1:40 PM, Cai Gengyang <gengyangcai at gmail.com> wrote:
> How to debug this ?
>
>>>> print "This line will be printed."
> SyntaxError: Missing parentheses in call to 'print'
> --
> https://mail.python.org/mailman/listinfo/python-list
You are using python 3.x. print is a function. Use print("this line
will be printed")
--
Joel Goldstick
http://joelgoldstick.com/blog
http://cc-baseballstats.info/stats/birthdays
More information about the Python-list
mailing list