Question #297662

n = int(input())
line = []

for i in range(0, n):
    line.append(input())
    print(max(line))
#test cases failed

Expert's answer

n = int(input())
line = []
for i in range(0, n):
    line.append(input())
print(f'Max value from list: {max(line)}')

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS