Re: Python and Functions

Unfortunately I don't know much Python, but to handle the problem of incorrect input in Java, you could use a try-catch block around the lines for input.  Surely, Python has something similar.  One approach would be to write a function that just handles numerical input, so you can avoid many try-catch blocks cluttering up your code.

URL: http://forum.audiogames.net/viewtopic.php?pid=174512#p174512

_______________________________________________
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
http://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Reply via email to