From 6f4e0e0240baa0f554e9c2fed810e09808f135db Mon Sep 17 00:00:00 2001 From: cheeks <134818917+leftovertoast@users.noreply.github.com> Date: Tue, 11 Feb 2025 10:48:53 -0500 Subject: [PATCH] Completed Exercise 8-3 T-Shirt --- Chapter_08/8-03_t-shirt.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Chapter_08/8-03_t-shirt.py diff --git a/Chapter_08/8-03_t-shirt.py b/Chapter_08/8-03_t-shirt.py new file mode 100644 index 0000000..02b2977 --- /dev/null +++ b/Chapter_08/8-03_t-shirt.py @@ -0,0 +1,7 @@ +# Exercise 8-3 T-Shirt +# Learning Objective: Write a function with 2 arguments. + +def make_shirt(size='S', message='your text here'): + print(f"\tNew shirt to be made:\n\tSIZE: {size}\n\tMESSAGE: {message}") + +make_shirt("L", "Hello Python World")