Write a program to get numbers = 1,3,11,42,12,4001


Topic: Write a program to get numbers = 1,3,11,42,12,4001

Solution

from collections import Iterable
highestnumber = -999
for i in numbers:
  if i > highestnumber:
    highestnumber = i
print(numbers.index(highestnumber))



List all Python Programs