Ответ:
import random
arr = [random.randint(-10, 30) for i in range(random.randint(1, 1000))]
print(f'Average for list is {sum(arr) / len(arr)}')
P.S. pyTHon, a не PHyton. Он "Пайтон" а не "Файтон"))
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
import random
arr = [random.randint(-10, 30) for i in range(random.randint(1, 1000))]
print(f'Average for list is {sum(arr) / len(arr)}')
P.S. pyTHon, a не PHyton. Он "Пайтон" а не "Файтон"))