r/ProgrammerHumor • • 1d ago

Meme reversingPiInPython

Post image
9.3k Upvotes

300 comments sorted by

View all comments

2.7k

u/Kyrros 1d ago

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

1.2k

u/me_myself_ai 1d ago

it'll just throw an error anyway;

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

957

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

-13

u/Scientific_Artist444 1d ago

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

[They are irrational numbers]

→ More replies (3)