Skip to content

Instantly share code, notes, and snippets.

@gatukgl
Created May 9, 2021 13:25
Show Gist options
  • Save gatukgl/c4650859140c497a9518f22fb7690ded to your computer and use it in GitHub Desktop.
Save gatukgl/c4650859140c497a9518f22fb7690ded to your computer and use it in GitHub Desktop.
This code intend to be an example of Python code before having Pattern Matching.
def quitGame():
print("🔴 Quit the game and go back to main page.")
def goTo(direction):
print(f"👣 Walking {direction}...")
def save(item):
print(f"💾 You got {item} 1 ea")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment