« Mathématiques avec Python et Ruby/Simulation avec Python » : différence entre les versions
Contenu supprimé Contenu ajouté
Ligne 142 :
from math import hypot
from random import random
▲ if hypot(random(),random())<1:
print(p/1000000*4)
|