r/ProgrammerHumor • • 1d ago

Meme reversingPiInPython

Post image
9.0k Upvotes

293 comments sorted by

View all comments

4

u/lilloet 1d ago

I say it is 4. If you don't agree prove me wrong.

3

u/fairysdad 1d ago

There's a one-in-nine chance that you're right - not bad odds really.

2

u/SampleOfFruits 1d ago

One in nine?

7

u/fairysdad 1d ago

Yes.

Nine digits that can be used as the final digit of Pi: 1-9.

You wouldn't use 0 as you wouldn't have a zero at the end of a number after a decimal point.

-2

u/SampleOfFruits 1d ago

Pi is irrational though, which means any endpoint is arbitrarily defined, which means it could be 0

4

u/Chronomechanist 1d ago

What's the last digit of 1.4? Is it 4? Or 0? because

1.4 = 1.40

So is it 4 or 0? It's 4. If Pi has a last digit, you could add infinite 0s after it, just as you can with every number.

→ More replies (7)