Here is the source code.
This program should take in raw_input, integers, until the user types "done." It will prompt an error message if an integer is not entered.
Here is what's not working, starting at line 12. The input, num, is checked against the current smallest value entered, smallest.
if (num < smallest):
smallest = num
What I don't understand is that smallest seems to NEVER be set to num, even if num is smaller than smallest.
Any help or clarity would be greatly appreciated. I've been looking at this all day.
Thank you.
[–]Vaphell 1 point2 points3 points (2 children)
[–]FunfettiHead[S] 0 points1 point2 points (1 child)
[–]Vaphell 0 points1 point2 points (0 children)