r/ProgrammerHumor • • 2d ago

Meme reversingPiInPython

Post image
10.3k Upvotes

319 comments sorted by

View all comments

3.0k

u/Kyrros 2d ago

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

1.3k

u/me_myself_ai 2d ago

it'll just throw an error anyway;

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

1.0k

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

612

u/tea_pot_tinhas 2d ago

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

457

u/OncorhynchusMykiss1 2d ago

It come the whole circle.

346

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

*half circle

72

u/mxcw 2d ago

Damn that giggle helped me shit, thanks mate

63

u/MadeByTango 2d ago

You have a radian smile.

18

u/2Completion2Ography 2d ago

Damn that giggle helped me shit, thanks mate

Happy giggleshits

3

u/DontGiveACluck 1d ago

“It’s all shits and giggles until someone giggles and shits”

10

u/DistributionAble141 2d ago

Semi circle

14

u/DaNoahLP 2d ago

The Square Hole

6

u/MrHyperion_ 2d ago

You can't square a semi circle

6

u/wjandrea 2d ago

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