Skip to content

Instantly share code, notes, and snippets.

@eddking
Created January 11, 2017 18:25
Show Gist options
  • Save eddking/a9290a957356e9e47665a992e471e97d to your computer and use it in GitHub Desktop.
Save eddking/a9290a957356e9e47665a992e471e97d to your computer and use it in GitHub Desktop.
lol
import sys
def printstr(string):
sys.stdout.write(string)
def func(level):
if level == 0:
return
printstr("anti-")
func(level -1)
if level == 1:
printstr("people")
if level % 2 == 0:
printstr("-gun")
else:
printstr("-drone")
func(int(sys.argv[1]))
printstr("s\n")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment