from random import randint
n = int(input())
arr = []
for i in range(n):
arr.append(randint(150,200))
print(f'Средний рост: {sum(arr)/len(arr)}')
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
from random import randint
n = int(input())
arr = []
for i in range(n):
arr.append(randint(150,200))
print(f'Средний рост: {sum(arr)/len(arr)}')