Moyenne aléatoire

import random


total = 0  
for i in range(10):  
    number = 1 + random.random()*4  
    print(number)  
    total += number  
print("Average =", total / 10)
Nervous Nightingale