[Tutor] problem with program
anrkris at gmail.com
Fri Oct 13 08:04:56 EDT 2017
just learning python as my first programming language. going through the
book "python in easy steps" by mike mcgrath. i am going through the
programs in chapter 7 and can't get them to work. here is the first one in
'''A base class to define bird properties.'''
from Bird import*
print('\nClass Instances Of:\n',Bird._doc_)
print('\nNumber Of Birds:',polly.count)
print('\nNumber Of Birds:',harry.count)
i am getting this error message:
File "scripts/bird.py", line 4
SyntaxError: invalid syntax
what am i doing or not doing that is causing this?
More information about the Tutor