Python for Dummies exaple

NewsLeecher User newsleecher at spam.com
Wed Oct 14 08:32:33 EDT 2015


In reply to "edmondo.giovannozzi at gmail.com" who wrote the following:

> Il giorno mercoled=EC 14 ottobre 2015 12:04:30 UTC+2, Chris Angelico ha scr=
> itto:
> > On Wed, Oct 14, 2015 at 8:55 PM, NewsLeecher User wrote:
> > > But with this script i get an error:
> > > But i have not so many experience to see what the error is.
> > > Good someone help me with this ?
> > =20
> > You need to tell us what the error is :)
> > =20
> > But, looking in my crystal ball, I find a hint that you're using
> > Python 3 and a book that's teaching an older version of Python.
> > Solution: Get a better book.
> > =20
> > ChrisA
> 
> And using the same cristal ball, assuming you are using python 3.x, put bra=
> ckets around the arguments of print like:
> 
> print(countdown)
> ...
> print("Hello, my name is", self.myname)
> 
> etc.
> forget for the moment about the ending comma.

Thanks for the reply.
Oh i did not look good enough that the examples are written in python 2.7
But there are also good things explaning in the book so i will keep it.

Thanks



-- 
--------------------------------- --- -- -
Posted with NewsLeecher v7.0 Beta 2
Web @ http://www.newsleecher.com/?usenet
------------------- ----- ---- -- -




More information about the Python-list mailing list