User Tools

Site Tools


slush:codetalkers

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
slush:codetalkers [2017/05/19 14:18] – created oemb1905slush:codetalkers [2018/05/20 01:29] (current) – removed oemb1905
Line 1: Line 1:
-flip.py 
-  import random 
  
-  total = 0 
- 
-  for i in range(2000000000000000000): 
-      flip = random.randint(0, 1) 
-      total = total + flip 
-      average = total / (i + 1)  
-      print(i, flip, total, average) 
slush/codetalkers.1495203507.txt.gz · Last modified: 2018/11/25 01:33 (external edit)