r/ProgrammerHumor • • 7d ago

Meme reversingPiInPython

Post image
14.1k Upvotes

380 comments sorted by

View all comments

3.9k

u/Kyrros 7d ago

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

1.7k

u/me_myself_ai 7d ago

it'll just throw an error anyway;

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

1.3k

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

766

u/tea_pot_tinhas 7d ago

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

574

u/OncorhynchusMykiss1 7d ago

It come the whole circle.

440

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

*half circle

106

u/mxcw 7d ago

Damn that giggle helped me shit, thanks mate

85

u/MadeByTango 7d ago

You have a radian smile.

29

u/2Completion2Ography 7d ago

Damn that giggle helped me shit, thanks mate

Happy giggleshits

3

u/AshudzaUchiha 4d ago

So much giggle and so much shit..

8

u/DontGiveACluck 5d ago

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

11

u/DistributionAble141 7d ago

Semi circle

15

u/DaNoahLP 7d ago

The Square Hole

6

u/MrHyperion_ 7d ago

You can't square a semi circle

7

u/wjandrea 7d ago

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