![]() |
#4
|
|||
|
|||
Hmmm... I am not quite sure if I completely understand how this works with the two runs (one for error checking) since if I change the while statement to an if statement it wont print it twice anymore.
what makes the difference? dominic code: ------- import viz viz.go() h = 1 h = viz.input("enter the number of human players: ") if (h>5): print "max of players is 5" h = viz.input("enter the number of human players: ") viz.quit() |
|
|