import random
arr = [random.randint(-99,99) for i in range(random.randint(10, 30))]
#1
print(max(arr))
#2
print(arr.index(max(arr))+1)
#3
print(max(arr) - min(arr))
print(abs( arr.index(max(arr)) - arr.index(min(arr
Объяснение:
import random
arr = [random.randint(-99,99) for i in range(random.randint(10, 30))]
#1
print(max(arr))
#2
print(arr.index(max(arr))+1)
#3
print(max(arr) - min(arr))
print(abs( arr.index(max(arr)) - arr.index(min(arr
Объяснение: