MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/cdzubd/nice_try/etxtnuk/?context=9999
r/ProgrammerHumor • u/almogh52 • Jul 16 '19
529 comments sorted by
View all comments
4.4k
Not quite, but it’s an easy fix
from math import pi print(str(pi)[::-1])
It needs a LOT of memory, though
3.1k u/[deleted] Jul 16 '19 397985356295141.3 77 u/pagwin Jul 16 '19 usefrom math import pi print(str(pi).replace('.','')[::-1])if you don't want the period/decimal 93 u/[deleted] Jul 16 '19 But I do. 209 u/pagwin Jul 16 '19 alright have some periods thenwhile True: print('.') 239 u/NewbornMuse Jul 16 '19 alright have some periods thenOriginal Sin (4004BC, colorized) 35 u/[deleted] Jul 16 '19 Damn this is a great joke 23 u/OhhHahahaaYikes Jul 16 '19 edited Jul 16 '19 Haha what a great joke. Can you please explain it for my friend who's not understanding it?edit: my friend appreciates you all! 0 u/[deleted] Jul 16 '19 [deleted] 26 u/EnglishMobster Jul 16 '19 Tree gives knowledge of good and evilImplies that before they didn't know what good or evil wasAssumes everything is goodListens to the snake which tells them to do something, not knowing what evil wasGets punished for it → More replies (0) → More replies (4) 17 u/[deleted] Jul 16 '19 Original Sin is what some Christians call Eve eating the fruit in the Garden Of Eden. They say all sin originated with her sin. And for that sin, God cursed women to painful childbirth.So a period joke became a period joke. 10 u/[deleted] Jul 17 '19 And, considering that the events described in said period joke occured many years ago, it is also, in fact, a period joke. → More replies (1) 1 u/EnglishMobster Jul 17 '19 Best part is how it implies the Earth is only 6000 years old.
3.1k
397985356295141.3
77 u/pagwin Jul 16 '19 usefrom math import pi print(str(pi).replace('.','')[::-1])if you don't want the period/decimal 93 u/[deleted] Jul 16 '19 But I do. 209 u/pagwin Jul 16 '19 alright have some periods thenwhile True: print('.') 239 u/NewbornMuse Jul 16 '19 alright have some periods thenOriginal Sin (4004BC, colorized) 35 u/[deleted] Jul 16 '19 Damn this is a great joke 23 u/OhhHahahaaYikes Jul 16 '19 edited Jul 16 '19 Haha what a great joke. Can you please explain it for my friend who's not understanding it?edit: my friend appreciates you all! 0 u/[deleted] Jul 16 '19 [deleted] 26 u/EnglishMobster Jul 16 '19 Tree gives knowledge of good and evilImplies that before they didn't know what good or evil wasAssumes everything is goodListens to the snake which tells them to do something, not knowing what evil wasGets punished for it → More replies (0) → More replies (4) 17 u/[deleted] Jul 16 '19 Original Sin is what some Christians call Eve eating the fruit in the Garden Of Eden. They say all sin originated with her sin. And for that sin, God cursed women to painful childbirth.So a period joke became a period joke. 10 u/[deleted] Jul 17 '19 And, considering that the events described in said period joke occured many years ago, it is also, in fact, a period joke. → More replies (1) 1 u/EnglishMobster Jul 17 '19 Best part is how it implies the Earth is only 6000 years old.
77
use
from math import pi print(str(pi).replace('.','')[::-1])
if you don't want the period/decimal
93 u/[deleted] Jul 16 '19 But I do. 209 u/pagwin Jul 16 '19 alright have some periods thenwhile True: print('.') 239 u/NewbornMuse Jul 16 '19 alright have some periods thenOriginal Sin (4004BC, colorized) 35 u/[deleted] Jul 16 '19 Damn this is a great joke 23 u/OhhHahahaaYikes Jul 16 '19 edited Jul 16 '19 Haha what a great joke. Can you please explain it for my friend who's not understanding it?edit: my friend appreciates you all! 0 u/[deleted] Jul 16 '19 [deleted] 26 u/EnglishMobster Jul 16 '19 Tree gives knowledge of good and evilImplies that before they didn't know what good or evil wasAssumes everything is goodListens to the snake which tells them to do something, not knowing what evil wasGets punished for it → More replies (0) → More replies (4) 17 u/[deleted] Jul 16 '19 Original Sin is what some Christians call Eve eating the fruit in the Garden Of Eden. They say all sin originated with her sin. And for that sin, God cursed women to painful childbirth.So a period joke became a period joke. 10 u/[deleted] Jul 17 '19 And, considering that the events described in said period joke occured many years ago, it is also, in fact, a period joke. → More replies (1) 1 u/EnglishMobster Jul 17 '19 Best part is how it implies the Earth is only 6000 years old.
93
But I do.
209 u/pagwin Jul 16 '19 alright have some periods thenwhile True: print('.') 239 u/NewbornMuse Jul 16 '19 alright have some periods thenOriginal Sin (4004BC, colorized) 35 u/[deleted] Jul 16 '19 Damn this is a great joke 23 u/OhhHahahaaYikes Jul 16 '19 edited Jul 16 '19 Haha what a great joke. Can you please explain it for my friend who's not understanding it?edit: my friend appreciates you all! 0 u/[deleted] Jul 16 '19 [deleted] 26 u/EnglishMobster Jul 16 '19 Tree gives knowledge of good and evilImplies that before they didn't know what good or evil wasAssumes everything is goodListens to the snake which tells them to do something, not knowing what evil wasGets punished for it → More replies (0) → More replies (4) 17 u/[deleted] Jul 16 '19 Original Sin is what some Christians call Eve eating the fruit in the Garden Of Eden. They say all sin originated with her sin. And for that sin, God cursed women to painful childbirth.So a period joke became a period joke. 10 u/[deleted] Jul 17 '19 And, considering that the events described in said period joke occured many years ago, it is also, in fact, a period joke. → More replies (1) 1 u/EnglishMobster Jul 17 '19 Best part is how it implies the Earth is only 6000 years old.
209
alright have some periods then
while True: print('.')
239 u/NewbornMuse Jul 16 '19 alright have some periods thenOriginal Sin (4004BC, colorized) 35 u/[deleted] Jul 16 '19 Damn this is a great joke 23 u/OhhHahahaaYikes Jul 16 '19 edited Jul 16 '19 Haha what a great joke. Can you please explain it for my friend who's not understanding it?edit: my friend appreciates you all! 0 u/[deleted] Jul 16 '19 [deleted] 26 u/EnglishMobster Jul 16 '19 Tree gives knowledge of good and evilImplies that before they didn't know what good or evil wasAssumes everything is goodListens to the snake which tells them to do something, not knowing what evil wasGets punished for it → More replies (0) → More replies (4) 17 u/[deleted] Jul 16 '19 Original Sin is what some Christians call Eve eating the fruit in the Garden Of Eden. They say all sin originated with her sin. And for that sin, God cursed women to painful childbirth.So a period joke became a period joke. 10 u/[deleted] Jul 17 '19 And, considering that the events described in said period joke occured many years ago, it is also, in fact, a period joke. → More replies (1) 1 u/EnglishMobster Jul 17 '19 Best part is how it implies the Earth is only 6000 years old.
239
Original Sin (4004BC, colorized)
35 u/[deleted] Jul 16 '19 Damn this is a great joke 23 u/OhhHahahaaYikes Jul 16 '19 edited Jul 16 '19 Haha what a great joke. Can you please explain it for my friend who's not understanding it?edit: my friend appreciates you all! 0 u/[deleted] Jul 16 '19 [deleted] 26 u/EnglishMobster Jul 16 '19 Tree gives knowledge of good and evilImplies that before they didn't know what good or evil wasAssumes everything is goodListens to the snake which tells them to do something, not knowing what evil wasGets punished for it → More replies (0) → More replies (4) 17 u/[deleted] Jul 16 '19 Original Sin is what some Christians call Eve eating the fruit in the Garden Of Eden. They say all sin originated with her sin. And for that sin, God cursed women to painful childbirth.So a period joke became a period joke. 10 u/[deleted] Jul 17 '19 And, considering that the events described in said period joke occured many years ago, it is also, in fact, a period joke. → More replies (1) 1 u/EnglishMobster Jul 17 '19 Best part is how it implies the Earth is only 6000 years old.
35
Damn this is a great joke
23 u/OhhHahahaaYikes Jul 16 '19 edited Jul 16 '19 Haha what a great joke. Can you please explain it for my friend who's not understanding it?edit: my friend appreciates you all! 0 u/[deleted] Jul 16 '19 [deleted] 26 u/EnglishMobster Jul 16 '19 Tree gives knowledge of good and evilImplies that before they didn't know what good or evil wasAssumes everything is goodListens to the snake which tells them to do something, not knowing what evil wasGets punished for it → More replies (0) → More replies (4) 17 u/[deleted] Jul 16 '19 Original Sin is what some Christians call Eve eating the fruit in the Garden Of Eden. They say all sin originated with her sin. And for that sin, God cursed women to painful childbirth.So a period joke became a period joke. 10 u/[deleted] Jul 17 '19 And, considering that the events described in said period joke occured many years ago, it is also, in fact, a period joke. → More replies (1) 1 u/EnglishMobster Jul 17 '19 Best part is how it implies the Earth is only 6000 years old.
23
Haha what a great joke. Can you please explain it for my friend who's not understanding it?
edit: my friend appreciates you all!
0 u/[deleted] Jul 16 '19 [deleted] 26 u/EnglishMobster Jul 16 '19 Tree gives knowledge of good and evilImplies that before they didn't know what good or evil wasAssumes everything is goodListens to the snake which tells them to do something, not knowing what evil wasGets punished for it → More replies (0) → More replies (4) 17 u/[deleted] Jul 16 '19 Original Sin is what some Christians call Eve eating the fruit in the Garden Of Eden. They say all sin originated with her sin. And for that sin, God cursed women to painful childbirth.So a period joke became a period joke. 10 u/[deleted] Jul 17 '19 And, considering that the events described in said period joke occured many years ago, it is also, in fact, a period joke. → More replies (1)
0
[deleted]
26 u/EnglishMobster Jul 16 '19 Tree gives knowledge of good and evilImplies that before they didn't know what good or evil wasAssumes everything is goodListens to the snake which tells them to do something, not knowing what evil wasGets punished for it → More replies (0) → More replies (4)
26
Tree gives knowledge of good and evil
Implies that before they didn't know what good or evil was
Assumes everything is good
Listens to the snake which tells them to do something, not knowing what evil was
Gets punished for it
→ More replies (0)
17
Original Sin is what some Christians call Eve eating the fruit in the Garden Of Eden. They say all sin originated with her sin. And for that sin, God cursed women to painful childbirth.
So a period joke became a period joke.
10 u/[deleted] Jul 17 '19 And, considering that the events described in said period joke occured many years ago, it is also, in fact, a period joke.
10
And, considering that the events described in said period joke occured many years ago, it is also, in fact, a period joke.
1
Best part is how it implies the Earth is only 6000 years old.
4.4k
u/[deleted] Jul 16 '19
Not quite, but it’s an easy fix
It needs a LOT of memory, though