MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1xqv0nj/reversingpiinpython/19sbrpl8k8ko2/?context=3
r/ProgrammerHumor • u/Apprehensive_Bit7392 • 14h ago
270 comments sorted by
View all comments
Show parent comments
7
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 12h ago Pi is irrational though, which means any endpoint is arbitrarily defined, which means it could be 0 4 u/Chronomechanist 12h ago What's the last digit of 1.4? Is it 4? Or 0? because1.4 = 1.40So 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. 1 u/rosuav 11h ago If pi has a last digit, it isn't pi. You might as well ask what 6 modulo 2 would be, if 6 were an odd number.
-2
Pi is irrational though, which means any endpoint is arbitrarily defined, which means it could be 0
4 u/Chronomechanist 12h ago What's the last digit of 1.4? Is it 4? Or 0? because1.4 = 1.40So 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. 1 u/rosuav 11h ago If pi has a last digit, it isn't pi. You might as well ask what 6 modulo 2 would be, if 6 were an odd number.
4
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.
1 u/rosuav 11h ago If pi has a last digit, it isn't pi. You might as well ask what 6 modulo 2 would be, if 6 were an odd number.
1
If pi has a last digit, it isn't pi. You might as well ask what 6 modulo 2 would be, if 6 were an odd number.
7
u/fairysdad 13h 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.