write a python program to print the largest of n numbers for loop
Answers
Answered by
0
Answer:
def find_max( list ):
max = list[ 0 ]
for a in list:
if a > max:
max = a
return max
num = int(input('How many numbers: '))
lst = []
for n in range(num):
numbers = int(input('Enter number '))
lst.append(numbers)
print("Maximum element in the list is :",
pls mark my answer as brainliest
Similar questions