On Fri, Aug 24, 2012 at 12:43 PM, Willem Krayenhoff <wbru...@gmail.com>wrote:

> Any idea why print isn't working here?
>
> I tried restarting my Command prompt.  Also, print doesn't work inside a
> class.
>
> [image: Inline image 2]
>

In Python 3, print was made into a function rather than a statement for
various reasons (I'll leave it to the reader to find sources as to why).
You just need to call it rather than use it as a statement.


> --
> Best Wishes,
>
>      Bruce
>      C: 604-441-5791
>      My 
> Availability<https://www.google.com/calendar/embed?src=ecuiatvm07anmj3ch314if3gns%40group.calendar.google.com&ctz=America/Vancouver>
>
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
>

<<image.png>>

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to