remember whatever you get from raw_input will be a string. But also this is designed pretty spaggetti like, so try to make it more concise.
|
Python
Print minimum and maximum of user input |
|
http://en.wikipedia.org/wiki/Spaghetti_code
Yeah, it's not very bad, but a while True with a break statement probably isn't how you want to go about this.
You might wanna take a look at the min() and max() functions that come with python to make this better
https://docs.python.org/2/library/functions.html#min https://docs.python.org/2/library/functions.html#max |
|
|
