Run Code
|
API
|
Code Wall
|
Users
|
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
Please
log in
to post a comment.
list_copy_shallow_deep.py
sai hw user enter table
gj
Lesson#6
gj
Game4
Faiha #4
abc
Well, this seems bad.
Faiha Lesson 2
Please log in to post a comment.