Question
Exercises From Chapter 8 of Python Crash Course, Eric Matthes USing Python!!!! Exercise 1: 8-3. T-Shirt: Write a function called make_shirt() that accepts a size
Exercises From Chapter 8 of Python Crash Course, Eric Matthes
USing Python!!!!
Exercise 1: 8-3. T-Shirt: Write a function called make_shirt() that accepts a size and the text of a message that should be printed on the shirt. The function should print a sentence summarizing the size of the shirt and the message printed on it.
Part A: Call the function once using positional arguments to make a shirt.
Part B: Call the function a second time using keyword arguments.
Exercise 2: Write the correct function calls based on the function headers below:
- def InviteGuests (guest1, guest2, guest3):
- def CalcSalary(HourlyWage, HoursWorked):
- def HelloWorld():
Exercise 3: After testing all the data insights weve done together put each on in its own function and practice calling them. Paste all of your code from your practice file containing these functions below.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started