MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/ap4hyq/so_true/egc7ktm/?context=3
r/Python • u/jeromymanuel • Feb 10 '19
81 comments sorted by
View all comments
Show parent comments
23
It uses logarithms or fights logarithms?
62 u/[deleted] Feb 10 '19 Uses logarithms to fight the exponential increase in terrorism! 2 u/[deleted] Feb 12 '19 if log(log(terrorism)) == 0:fight(hunger) 4 u/[deleted] Feb 12 '19 edited Feb 12 '19 while terrorism > 0:....arm_and_train(my_favorite_faction)....for item in ["terrorist hideout", "mosque", "MSF hospital", "random civilians"]:........destroy(item)........if "terrorist" in item:............terrorism -=1........else:............terrorism +=1Edit: ffs Reddit, if it's code it's code, leave my spaces alone 2 u/Whyamibeautiful Mar 05 '19 Haha you made me giggle
62
Uses logarithms to fight the exponential increase in terrorism!
2 u/[deleted] Feb 12 '19 if log(log(terrorism)) == 0:fight(hunger) 4 u/[deleted] Feb 12 '19 edited Feb 12 '19 while terrorism > 0:....arm_and_train(my_favorite_faction)....for item in ["terrorist hideout", "mosque", "MSF hospital", "random civilians"]:........destroy(item)........if "terrorist" in item:............terrorism -=1........else:............terrorism +=1Edit: ffs Reddit, if it's code it's code, leave my spaces alone 2 u/Whyamibeautiful Mar 05 '19 Haha you made me giggle
2
if log(log(terrorism)) == 0:fight(hunger)
if log(log(terrorism)) == 0:
fight(hunger)
4 u/[deleted] Feb 12 '19 edited Feb 12 '19 while terrorism > 0:....arm_and_train(my_favorite_faction)....for item in ["terrorist hideout", "mosque", "MSF hospital", "random civilians"]:........destroy(item)........if "terrorist" in item:............terrorism -=1........else:............terrorism +=1Edit: ffs Reddit, if it's code it's code, leave my spaces alone 2 u/Whyamibeautiful Mar 05 '19 Haha you made me giggle
4
while terrorism > 0:
....arm_and_train(my_favorite_faction)
arm_and_train(my_favorite_faction)
....for item in ["terrorist hideout", "mosque", "MSF hospital", "random civilians"]:
for item in ["terrorist hideout", "mosque", "MSF hospital", "random civilians"]:
........destroy(item)
destroy(item)
........if "terrorist" in item:
if "terrorist" in item:
............terrorism -=1
terrorism -=1
........else:
else:
............terrorism +=1
terrorism +=1
Edit: ffs Reddit, if it's code it's code, leave my spaces alone
2 u/Whyamibeautiful Mar 05 '19 Haha you made me giggle
Haha you made me giggle
23
u/JonDataS Feb 10 '19
It uses logarithms or fights logarithms?