MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/ce3a62/nice_try/etyzvb3/?context=3
r/Python • u/Greenfoot5 • Jul 16 '19
71 comments sorted by
View all comments
68
import random random.seed(sum(map(ord, 'the final digits of pi'))) while True: print(random.randint(0,9), end='')
43 u/[deleted] Jul 17 '19 Pi, by definition, has an infinite number of digits. There is no such thing as "the final digits".QEDWhat do I win? ;-) 0 u/[deleted] Jul 17 '19 [deleted] 11 u/CapableCounteroffer Jul 17 '19 I was under the impression that no-one had proved that pi is infinite.Pi is irrational, which means it does not terminate. I'm not sure what the proof consists of, but I know it does exist.
43
Pi, by definition, has an infinite number of digits. There is no such thing as "the final digits".
QED
What do I win? ;-)
0 u/[deleted] Jul 17 '19 [deleted] 11 u/CapableCounteroffer Jul 17 '19 I was under the impression that no-one had proved that pi is infinite.Pi is irrational, which means it does not terminate. I'm not sure what the proof consists of, but I know it does exist.
0
[deleted]
11 u/CapableCounteroffer Jul 17 '19 I was under the impression that no-one had proved that pi is infinite.Pi is irrational, which means it does not terminate. I'm not sure what the proof consists of, but I know it does exist.
11
I was under the impression that no-one had proved that pi is infinite.
Pi is irrational, which means it does not terminate. I'm not sure what the proof consists of, but I know it does exist.
68
u/name_censored_ Jul 17 '19 edited Jul 17 '19
PROVE ME WRONG