Thank-you all, it works now!

Best Wishes,

     Bruce
     C: 604-441-5791
 
<https://www.google.com/calendar/embed?src=ecuiatvm07anmj3ch314if3gns%40grou
p.calendar.google.com&ctz=America/Vancouver> My Availability 

 

From: python-list-bounces+wbrucek=gmail....@python.org
[mailto:python-list-bounces+wbrucek=gmail....@python.org] On Behalf Of Chris
Kaynor
Sent: August-24-12 12:54 PM
To: python-list@python.org
Subject: Re: help with simple print statement!

 

On Fri, Aug 24, 2012 at 12:43 PM, Willem Krayenhoff <wbru...@gmail.com
<mailto: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.

 

 

 

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 <tel:604-441-5791> 
     My Availability
<https://www.google.com/calendar/embed?src=ecuiatvm07anmj3ch314if3gns%40grou
p.calendar.google.com&ctz=America/Vancouver>  


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

 

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

Reply via email to