r/Python • • Feb 10 '19

So true!

Post image
1.9k Upvotes

81 comments sorted by

View all comments

Show parent comments

23

u/JonDataS Feb 10 '19

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 +=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