[Tutor] need help

2009-08-06 Thread jonathan wallis
i am in the process of creating a simple python program, and i have come across a problem which i can not solve, here is the code *import pygame from pygame.locals import * from pygame.color import THECOLORS if not pygame.font: print 'Atention, there are no fonts.' if not pygame.mixer:

[Tutor] help

2009-07-15 Thread jonathan wallis
i have a duel loop that looks like thiswhile y > 0 and x > 0: i cant figure out if there is a way to make so if one loop ends it says something different than if the other loop ends. ___ Tutor maillist - Tutor@python.org http://mail.python.o

[Tutor] Need help with python game program

2009-06-30 Thread jonathan wallis
My problem is simple, is their a way to make a variable equal multiple numbers? Such as X = 5 through 10, and then the program makes x equal something random 5 through 10, or something similar. 2009/6/30 > Send Tutor mailing list submissions to >tutor@python.org > > To subscribe or unsu