Python 3.7.0
import random
pr = 1
for i in range(5):
x = round(random.uniform(1, 1.3), 2)
pr *= x
print(x)
srgeom = round(pr ** (1 / 5), 2)
print("Среднее геометрическое чисел: " + str(srgeom))
Python 3.7.0
import random
pr = 1
for i in range(5):
x = round(random.uniform(1, 1.3), 2)
pr *= x
print(x)
srgeom = round(pr ** (1 / 5), 2)
print("Среднее геометрическое чисел: " + str(srgeom))