numberList=[16,19,42,43,74,66] largest = numberList[0] for num2 in numberList: if num2 > largest: largest=num2 print(largest)
gives the largest number from the list of numbers without using the Max operator
Ryan Jun 09 '16 at 0:05 2016-06-09 00:05
source share