Answer to Question #297662 in Python for santhu

Question #297662
n = int(input())
line = []

for i in range(0, n):
    line.append(input())
    print(max(line))
#test cases failed
1
Expert's answer
2022-02-14T07:54:48-0500
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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS