Skip to content

Instantly share code, notes, and snippets.

@vereperrot
Created April 28, 2020 12:32
Show Gist options
  • Save vereperrot/b68fdcbfa86353c48f45bd3e66cc44f7 to your computer and use it in GitHub Desktop.
Save vereperrot/b68fdcbfa86353c48f45bd3e66cc44f7 to your computer and use it in GitHub Desktop.
make_shirt.py
def make_shirt(size,text="I love Python"):
print("\n The shirt size is "+size+".")
print("\n The shirt text is "+text+".")
make_shirt(size="big")
make_shirt(size="medium",text="Python is good")
"""
OUTPUT:
The shirt size is big.
The shirt text is I love Python.
The shirt size is medium.
The shirt text is Python is good.
"""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment