Update sixth.py

This commit is contained in:
Daniel
2022-12-12 16:34:01 +02:00
committed by GitHub
parent 2c3fa5d1d3
commit 46e4022153

View File

@@ -1 +1,8 @@
import random
tries, wins = 1000000, 0
for _ in range(tries):
if 375 <= random.randint(0, 1499) <= 1124 and 375 <= random.randint(0, 1499) <= 1124:
wins += 1
print(wins/tries)