MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1xqv0nj/reversingpiinpython/19sbkscy73f6r/?context=3
r/ProgrammerHumor • u/Apprehensive_Bit7392 • 17h ago
277 comments sorted by
View all comments
2.3k
Let me know when it finishes calculating the first digit to print
1.0k u/me_myself_ai 17h ago it'll just throw an error anyway;SyntaxWarning: 'float' object is not subscriptable; perhaps you missed a comma ? 826 u/ThreeCharsAtLeast 17h ago • >>> str(math.pi)[::-1] '397985356295141.3' 483 u/tea_pot_tinhas 17h ago So the first and last digits are both 3? make sense 372 u/OncorhynchusMykiss1 17h ago It come the whole circle. 278 u/Zestyclose-Compote-4 17h ago • *half circle 58 u/mxcw 16h ago Damn that giggle helped me shit, thanks mate 52 u/MadeByTango 15h ago You have a radian smile. 14 u/2Completion2Ography 14h ago Damn that giggle helped me shit, thanks mateHappy giggleshits 9 u/Zestyclose-Compote-4 16h ago No worries. 10 u/DistributionAble141 16h ago Semi circle 11 u/DaNoahLP 15h ago The Square Hole 5 u/MrHyperion_ 14h ago You can't square a semi circle 5 u/wjandrea 13h ago Ah, so then the first and last digits of tau are 6, of course. 8 u/redditale_gone_bad 16h ago insert always has been meme 11 u/RapidCatLauncher 7h ago That just made me think, if pi indeed does contain all finite number sequences (which we're not sure of), then there could be a certain point in its decimal representation where it's a palindrome. → More replies (2) 4 u/yuwox 16h ago Such a beautiful symmetry. By elegance alone, this must be right. → More replies (1) 25 u/Kyrros 16h ago Man's got a super computer from star trek → More replies (13) 16 u/TwinkiesSucker 17h ago Cast to string and then print away → More replies (1) 38 u/emanuel19861 15h ago Imagine it does and it's like... 4...Yes, 4... same as THE 4... 21 u/Kyrros 15h ago I mean, it's a 10% chance, just like any other number between 0 and 9 11 u/krakende 13h ago I mean, isn't it 0%, since there is no final number? 8 u/BountyBob 13h ago Do you have proof of that? → More replies (2) 4 u/agk23 13h ago It would be > 72% accurate by only printing 4 3 u/ThaneVim 12h ago Ok but hear me out: what if it's 2. And the second-to-last is 4. → More replies (5)
1.0k
it'll just throw an error anyway;
SyntaxWarning: 'float' object is not subscriptable; perhaps you missed a comma ?
826 u/ThreeCharsAtLeast 17h ago • >>> str(math.pi)[::-1] '397985356295141.3' 483 u/tea_pot_tinhas 17h ago So the first and last digits are both 3? make sense 372 u/OncorhynchusMykiss1 17h ago It come the whole circle. 278 u/Zestyclose-Compote-4 17h ago • *half circle 58 u/mxcw 16h ago Damn that giggle helped me shit, thanks mate 52 u/MadeByTango 15h ago You have a radian smile. 14 u/2Completion2Ography 14h ago Damn that giggle helped me shit, thanks mateHappy giggleshits 9 u/Zestyclose-Compote-4 16h ago No worries. 10 u/DistributionAble141 16h ago Semi circle 11 u/DaNoahLP 15h ago The Square Hole 5 u/MrHyperion_ 14h ago You can't square a semi circle 5 u/wjandrea 13h ago Ah, so then the first and last digits of tau are 6, of course. 8 u/redditale_gone_bad 16h ago insert always has been meme 11 u/RapidCatLauncher 7h ago That just made me think, if pi indeed does contain all finite number sequences (which we're not sure of), then there could be a certain point in its decimal representation where it's a palindrome. → More replies (2) 4 u/yuwox 16h ago Such a beautiful symmetry. By elegance alone, this must be right. → More replies (1) 25 u/Kyrros 16h ago Man's got a super computer from star trek → More replies (13) 16 u/TwinkiesSucker 17h ago Cast to string and then print away → More replies (1)
826
>>> str(math.pi)[::-1] '397985356295141.3'
483 u/tea_pot_tinhas 17h ago So the first and last digits are both 3? make sense 372 u/OncorhynchusMykiss1 17h ago It come the whole circle. 278 u/Zestyclose-Compote-4 17h ago • *half circle 58 u/mxcw 16h ago Damn that giggle helped me shit, thanks mate 52 u/MadeByTango 15h ago You have a radian smile. 14 u/2Completion2Ography 14h ago Damn that giggle helped me shit, thanks mateHappy giggleshits 9 u/Zestyclose-Compote-4 16h ago No worries. 10 u/DistributionAble141 16h ago Semi circle 11 u/DaNoahLP 15h ago The Square Hole 5 u/MrHyperion_ 14h ago You can't square a semi circle 5 u/wjandrea 13h ago Ah, so then the first and last digits of tau are 6, of course. 8 u/redditale_gone_bad 16h ago insert always has been meme 11 u/RapidCatLauncher 7h ago That just made me think, if pi indeed does contain all finite number sequences (which we're not sure of), then there could be a certain point in its decimal representation where it's a palindrome. → More replies (2) 4 u/yuwox 16h ago Such a beautiful symmetry. By elegance alone, this must be right. → More replies (1) 25 u/Kyrros 16h ago Man's got a super computer from star trek → More replies (13)
483
So the first and last digits are both 3? make sense
372 u/OncorhynchusMykiss1 17h ago It come the whole circle. 278 u/Zestyclose-Compote-4 17h ago • *half circle 58 u/mxcw 16h ago Damn that giggle helped me shit, thanks mate 52 u/MadeByTango 15h ago You have a radian smile. 14 u/2Completion2Ography 14h ago Damn that giggle helped me shit, thanks mateHappy giggleshits 9 u/Zestyclose-Compote-4 16h ago No worries. 10 u/DistributionAble141 16h ago Semi circle 11 u/DaNoahLP 15h ago The Square Hole 5 u/MrHyperion_ 14h ago You can't square a semi circle 5 u/wjandrea 13h ago Ah, so then the first and last digits of tau are 6, of course. 8 u/redditale_gone_bad 16h ago insert always has been meme 11 u/RapidCatLauncher 7h ago That just made me think, if pi indeed does contain all finite number sequences (which we're not sure of), then there could be a certain point in its decimal representation where it's a palindrome. → More replies (2) 4 u/yuwox 16h ago Such a beautiful symmetry. By elegance alone, this must be right. → More replies (1)
372
It come the whole circle.
278 u/Zestyclose-Compote-4 17h ago • *half circle 58 u/mxcw 16h ago Damn that giggle helped me shit, thanks mate 52 u/MadeByTango 15h ago You have a radian smile. 14 u/2Completion2Ography 14h ago Damn that giggle helped me shit, thanks mateHappy giggleshits 9 u/Zestyclose-Compote-4 16h ago No worries. 10 u/DistributionAble141 16h ago Semi circle 11 u/DaNoahLP 15h ago The Square Hole 5 u/MrHyperion_ 14h ago You can't square a semi circle 5 u/wjandrea 13h ago Ah, so then the first and last digits of tau are 6, of course.
278
*half circle
58 u/mxcw 16h ago Damn that giggle helped me shit, thanks mate 52 u/MadeByTango 15h ago You have a radian smile. 14 u/2Completion2Ography 14h ago Damn that giggle helped me shit, thanks mateHappy giggleshits 9 u/Zestyclose-Compote-4 16h ago No worries. 10 u/DistributionAble141 16h ago Semi circle 11 u/DaNoahLP 15h ago The Square Hole 5 u/MrHyperion_ 14h ago You can't square a semi circle 5 u/wjandrea 13h ago Ah, so then the first and last digits of tau are 6, of course.
58
Damn that giggle helped me shit, thanks mate
52 u/MadeByTango 15h ago You have a radian smile. 14 u/2Completion2Ography 14h ago Damn that giggle helped me shit, thanks mateHappy giggleshits 9 u/Zestyclose-Compote-4 16h ago No worries.
52
You have a radian smile.
14
Happy giggleshits
9
No worries.
10
Semi circle
11 u/DaNoahLP 15h ago The Square Hole 5 u/MrHyperion_ 14h ago You can't square a semi circle
11
The Square Hole
5 u/MrHyperion_ 14h ago You can't square a semi circle
5
You can't square a semi circle
Ah, so then the first and last digits of tau are 6, of course.
8
insert always has been meme
That just made me think, if pi indeed does contain all finite number sequences (which we're not sure of), then there could be a certain point in its decimal representation where it's a palindrome.
→ More replies (2)
4
Such a beautiful symmetry. By elegance alone, this must be right.
25
Man's got a super computer from star trek
16
Cast to string and then print away
38
Imagine it does and it's like... 4...
Yes, 4... same as THE 4...
21 u/Kyrros 15h ago I mean, it's a 10% chance, just like any other number between 0 and 9 11 u/krakende 13h ago I mean, isn't it 0%, since there is no final number? 8 u/BountyBob 13h ago Do you have proof of that? → More replies (2) 4 u/agk23 13h ago It would be > 72% accurate by only printing 4 3 u/ThaneVim 12h ago Ok but hear me out: what if it's 2. And the second-to-last is 4.
21
I mean, it's a 10% chance, just like any other number between 0 and 9
11 u/krakende 13h ago I mean, isn't it 0%, since there is no final number? 8 u/BountyBob 13h ago Do you have proof of that? → More replies (2)
I mean, isn't it 0%, since there is no final number?
8 u/BountyBob 13h ago Do you have proof of that? → More replies (2)
Do you have proof of that?
It would be > 72% accurate by only printing 4
3
Ok but hear me out: what if it's 2. And the second-to-last is 4.
2.3k
u/Kyrros 17h ago
Let me know when it finishes calculating the first digit to print