Created
January 11, 2017 18:25
-
-
Save eddking/a9290a957356e9e47665a992e471e97d to your computer and use it in GitHub Desktop.
lol
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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