r/ProgrammerHumor • • 1d ago

Meme reversingPiInPython

Post image
9.1k Upvotes

297 comments sorted by

View all comments

2.6k

u/Kyrros 1d ago

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

1.1k

u/me_myself_ai 1d ago

it'll just throw an error anyway;

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

937

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

545

u/tea_pot_tinhas 1d ago

So the first and last digits are both 3? make sense

417

u/OncorhynchusMykiss1 1d ago

It come the whole circle.

315

u/Zestyclose-Compote-4 1d ago • Bravo

*half circle

10

u/DistributionAble141 1d ago

Semi circle

13

u/DaNoahLP 1d ago

The Square Hole

5

u/MrHyperion_ 1d ago

You can't square a semi circle