kickstar
June 21st, 2006, 07:52 PM
hello all,
im a programming newbie and i'v been following the "Byte of Python" guide which i think is really good.
however...
i'v written this small guessing game ( find attached )
but when i enter a number it executes the corresponding code - then executes the "Well done!" bit and exits back to terminal prompt.
it's the same (pretty much) as this one:
http://www.byteofpython.info/read/if-statement.html
i'v run this one too and it has the same problem, whats going on? is the code wrong or something?
please help because i hate getting stuck
thanx!
im a programming newbie and i'v been following the "Byte of Python" guide which i think is really good.
however...
i'v written this small guessing game ( find attached )
but when i enter a number it executes the corresponding code - then executes the "Well done!" bit and exits back to terminal prompt.
it's the same (pretty much) as this one:
http://www.byteofpython.info/read/if-statement.html
i'v run this one too and it has the same problem, whats going on? is the code wrong or something?
please help because i hate getting stuck
thanx!