Created
April 28, 2020 12:32
-
-
Save vereperrot/b68fdcbfa86353c48f45bd3e66cc44f7 to your computer and use it in GitHub Desktop.
make_shirt.py
This file contains 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
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