На Python:
from random import randint
x = 0
for i in range(6):
number = randint(1, 15)
print(number)
x += number
print('Среднее =', x / 6)
Объяснение:
На Python:
from random import randint
x = 0
for i in range(6):
number = randint(1, 15)
print(number)
x += number
print('Среднее =', x / 6)
Объяснение: