Hello all,

I'm a cell biologist that is learning python. I've been following Alan Gauld's tutorial online and I've hit a wall.

I'm typing

class Spam:
        """A meat for combining with other foods

        It can be used with other foods to make interesting meals.
        It comes with lots of nutrients and can be cooked using many
        different techniques"""

        
>>> def__init__(self):
        
SyntaxError: invalid syntax

and I get that error. I've tried several different versions over several days and I'm stuck.

Little help please.  Thanks

long time first time
Best,

Gary



Gary Laevsky, Ph.D.
Keck Facility Manager, CenSSIS
Northeastern University
302 Stearns
360 Huntington Ave.
Boston, MA 02115
voice(617) 373 - 2589<br>
fax(617) 373 - 7783<br><br>

http://www.censsis.neu.edu

http://www.ece.neu.edu/groups/osl

http://www.keck3dfm.neu.edu

_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to