On Sun, 20 Jan 2002, kirk Bailey wrote: > Danny, what's with this error I got? > > C:\Python21>python game1.py > File "game1.py", line 22 > yield x > ^ > SyntaxError: invalid syntax Sorry, I should have mentioned it earlier; I'm using a Python 2.2 feature called "generators" in the code. I can fix the code to be more compatible if you'd like.