a = []
if a.__len__() >= 10:
a.sort(reverse=True)
print(a[0])
elif a.__len__() < 10:
a.sort()
else:
print('Список пуст!')
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
a = []
if a.__len__() >= 10:
a.sort(reverse=True)
print(a[0])
elif a.__len__() < 10:
a.sort()
print(a[0])
else:
print('Список пуст!')