a = []
[a.append(int(input())) for i in range(int(input("n: ")))]
print(max(a))
print(min(a))
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
a = []
[a.append(int(input())) for i in range(int(input("n: ")))]
print(max(a))
print(min(a))