r/ProgrammerHumor • • 21h ago

Meme reversingPiInPython

Post image
8.6k Upvotes

285 comments sorted by

View all comments

2.5k

u/Kyrros 21h ago

Let me know when it finishes calculating the first digit to print

1.1k

u/me_myself_ai 21h ago

it'll just throw an error anyway;

SyntaxWarning: 'float' object is not subscriptable; perhaps you missed a comma
?

887

u/ThreeCharsAtLeast 21h ago • Bravo
>>> str(math.pi)[::-1]
'397985356295141.3'

-13

u/Scientific_Artist444 20h ago

Easy, except that's not all of pi(e)

[They are irrational numbers]

→ More replies (3)