Ответ:
import random
arr = [random.randint(-99,99) for i in range(20)]
arr.sort(reverse = True)
arr.sort(key = lambda p: p == 0)
print(arr)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
import random
arr = [random.randint(-99,99) for i in range(20)]
arr.sort(reverse = True)
arr.sort(key = lambda p: p == 0)
print(arr)