Trying to make a basic Python score counter in a game... will not count.
kwpolska at gmail.com
Sun Dec 16 18:50:18 CET 2012
On Sun, Dec 16, 2012 at 6:44 PM, tbg <darrienglasser at gmail.com> wrote:
> I changed it so that it said winx += 1 etc. and it doesn't seem to save it. I also tried pulling the variables from the loop and making them global variables at the top.
> The latter game me a traceback error when printing out the results. Any ideas?
> Code Preview/Download
Put this on top of your function:
global winx, winy
PS. Why did you put those delays in? They are useless.
stop html mail | always bottom-post
www.asciiribbon.org | www.netmeister.org/news/learn2quote.html
GPG KEY: 5EAAEA16
More information about the Python-list