Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Page353ex42
from random import randint compteur=0 N=1000 for i in range(N-1): if randint(1,2)==1: if randint(1,5)<=1: compteur+=1 elif randint(1,3)<=1: compteur+=1 print("Pour ",N," parties jouees, la fréquence de parties gagnees est de ",compteur/N,".")
run
|
edit
|
history
|
help
0
test4.py
PyRegSub
ivan2
Hi.py
PYTHON 3
Pattern(L).py
Alphabet
quizcorrect
unhex 16 bit word python (string to hex)
emoji 2