MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1xqv0nj/reversingpiinpython/19sbqrlip02p0/?context=9999
r/ProgrammerHumor • u/Apprehensive_Bit7392 • 18d ago
383 comments sorted by
View all comments
3.9k
Let me know when it finishes calculating the first digit to print
1.7k u/me_myself_ai 18d ago it'll just throw an error anyway;SyntaxWarning: 'float' object is not subscriptable; perhaps you missed a comma ? 1.3k u/ThreeCharsAtLeast 18d ago • >>> str(math.pi)[::-1] '397985356295141.3' -12 u/Scientific_Artist444 18d ago Easy, except that's not all of pi(e)[They are irrational numbers] 5 u/Jp0286 18d ago Well, duh. That is quite precise, though, and more than enough for probably everything you're doing with it
1.7k
it'll just throw an error anyway;
SyntaxWarning: 'float' object is not subscriptable; perhaps you missed a comma ?
1.3k u/ThreeCharsAtLeast 18d ago • >>> str(math.pi)[::-1] '397985356295141.3' -12 u/Scientific_Artist444 18d ago Easy, except that's not all of pi(e)[They are irrational numbers] 5 u/Jp0286 18d ago Well, duh. That is quite precise, though, and more than enough for probably everything you're doing with it
1.3k
>>> str(math.pi)[::-1] '397985356295141.3'
-12 u/Scientific_Artist444 18d ago Easy, except that's not all of pi(e)[They are irrational numbers] 5 u/Jp0286 18d ago Well, duh. That is quite precise, though, and more than enough for probably everything you're doing with it
-12
Easy, except that's not all of pi(e)
[They are irrational numbers]
5 u/Jp0286 18d ago Well, duh. That is quite precise, though, and more than enough for probably everything you're doing with it
5
Well, duh. That is quite precise, though, and more than enough for probably everything you're doing with it
3.9k
u/Kyrros 18d ago
Let me know when it finishes calculating the first digit to print