import random
list = []
for i in range(10):
list.append(random.randint(1, 100))
print(list)
list.sort()
list.reverse()
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
import random
list = []
for i in range(10):
list.append(random.randint(1, 100))
print(list)
list.sort()
print(list)
list.reverse()
print(list)