Skip to content

Instantly share code, notes, and snippets.

@salgo60
Last active August 6, 2019 14:17
Show Gist options
  • Save salgo60/05fd14290db44c263bd43d2b1a50e946 to your computer and use it in GitHub Desktop.
Save salgo60/05fd14290db44c263bd43d2b1a50e946 to your computer and use it in GitHub Desktop.
Haiku = ["Snow in my shoe","Abandoned","parrow's nest"]
currLine = 0
def printLine():
global currLine
print (Haiku[currLine])
currLine += 1
if currLine < len(Haku):
return True
else:
return False
while printLine():
continue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment