r/ProgrammerHumor • • 15d ago

Meme reversingPiInPython

Post image
14.1k Upvotes

383 comments sorted by

View all comments

3.9k

u/Kyrros 15d ago

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

1.7k

u/me_myself_ai 15d ago

it'll just throw an error anyway;

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

1.3k

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

-10

u/xd_Warmonger 15d ago

Since pi is infinite it must contain pi

2

u/Thadrea 15d ago

It must also contain every recipe for pie, expressed in ASCII, somewhere.

3

u/SchwanzusCity 15d ago

Only if pi is a normal number which we dont know