On Mon, 23 Aug 2004, Ms Soo Chong wrote: > When I replaced, a syntax error appeared: > > File "<stdin>", line 33 > def__str__(self): > ^ > > SyntaxError: invalid syntax Hi Shufen, Ah, this is a quick fix. Look more closely at the line with the error message --- there's no space between the 'def' and the method name.