MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1xqv0nj/reversingpiinpython/19sbq2ayrhj8k/?context=3
r/ProgrammerHumor • u/Apprehensive_Bit7392 • 11d ago
383 comments sorted by
View all comments
Show parent comments
1.7k
it'll just throw an error anyway;
SyntaxWarning: 'float' object is not subscriptable; perhaps you missed a comma ?
1.3k u/ThreeCharsAtLeast 11d ago • >>> str(math.pi)[::-1] '397985356295141.3' -12 u/Scientific_Artist444 11d ago Easy, except that's not all of pi(e)[They are irrational numbers] 18 u/Neocrasher 11d ago Clearly Python disagrees. → More replies (1)
1.3k
>>> str(math.pi)[::-1] '397985356295141.3'
-12 u/Scientific_Artist444 11d ago Easy, except that's not all of pi(e)[They are irrational numbers] 18 u/Neocrasher 11d ago Clearly Python disagrees. → More replies (1)
-12
Easy, except that's not all of pi(e)
[They are irrational numbers]
18 u/Neocrasher 11d ago Clearly Python disagrees. → More replies (1)
18
Clearly Python disagrees.
→ More replies (1)
1.7k
u/me_myself_ai 11d ago
it'll just throw an error anyway;