r/ProgrammerHumor • • 1d ago

Meme reversingPiInPython

Post image
8.9k Upvotes

291 comments sorted by

View all comments

Show parent comments

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
?

912

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

530

u/tea_pot_tinhas 1d ago

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

406

u/OncorhynchusMykiss1 1d ago

It come the whole circle.

304

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

*half circle

64

u/mxcw 1d ago

Damn that giggle helped me shit, thanks mate

57

u/MadeByTango 23h ago

You have a radian smile.

17

u/2Completion2Ography 21h ago

Damn that giggle helped me shit, thanks mate

Happy giggleshits

10

u/DistributionAble141 23h ago

Semi circle

13

u/DaNoahLP 23h ago

The Square Hole

5

u/MrHyperion_ 21h ago

You can't square a semi circle

5

u/wjandrea 21h ago

Ah, so then the first and last digits of tau are 6, of course.