Python for Dummies exaple
edmondo.giovannozzi at gmail.com
edmondo.giovannozzi at gmail.com
Wed Oct 14 07:41:51 EDT 2015
Il giorno mercoledì 14 ottobre 2015 12:04:30 UTC+2, Chris Angelico ha scritto:
> 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 ?
>
> You need to tell us what the error is :)
>
> 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.
>
> ChrisA
And using the same cristal ball, assuming you are using python 3.x, put brackets around the arguments of print like:
print(countdown)
...
print("Hello, my name is", self.myname)
etc.
forget for the moment about the ending comma.
More information about the Python-list
mailing list