in reply to cheesy comparison program not working!!
print "All your numbers are less than or equal to the average\n"reminds me of a fictional US town "where all the women are strong, all the men are good-looking, and all the children are above average."
Your else { ... } clause can't execute, unless the numbers you input are all identical... in which case, that might be more easily determined by inspection than by keyboarding them.
:-)
More seriously, be wary of "believing your own propaganda," whether explicit, as in 39-40, or implicit.
Update - fixed Garrison Keillor quote (was missing "where").
|
|---|