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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!