How about this? # Assumption x, y, z are all > 0 x, y, z = a = x * (x % 2) b = y * (y % 2) c = z * (z % 2) big = a if big < b: big = b if big < c big = c
if big == 0: print "No odd number" else: print big, "is biggest odd number" Asokan Pichai If a language is designed for non-programmers, soon only non-programs get written in it. --- Anonymouse
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor