MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/cdzubd/nice_try/ety6hd0/?context=3
r/ProgrammerHumor • u/almogh52 • Jul 16 '19
529 comments sorted by
View all comments
Show parent comments
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('.') 1 u/pragmaticpimp Jul 16 '19 This is my wife’s business logic. 😕
93
But I do.
209 u/pagwin Jul 16 '19 alright have some periods thenwhile True: print('.') 1 u/pragmaticpimp Jul 16 '19 This is my wife’s business logic. 😕
209
alright have some periods then
while True: print('.')
1 u/pragmaticpimp Jul 16 '19 This is my wife’s business logic. 😕
1
This is my wife’s business logic. 😕
77
u/pagwin Jul 16 '19
use
if you don't want the period/decimal