Paired Programming Activity
Functions (New Code)

 

 

Activities

I would like you to complete four Python functions working with your partner.

Please try to make your program output look as much like the example as possible and verify it works with the example input provided. If you have difficulty finding the information or understanding how to approach the problem, you should contact me.

To complete this activity, you will need to create the following functions. You may make them all in the same file on Replit.

 

 


Func 5

Calculating Windchill

Cole Dwind is the meteorologist for the local weather station. He is getting ready for the approaching winter by brushing up on the calculation for wind chill. According to Wikipedia the formula for wind chill is:

 

Write a Python function that conforms to the following

 


Func 6

Converting the temps

Gail Storm is a meteorologist in Detroit. Since about half of her audience is just across the border in Canada, she has to report the temps in both Fahrenheit and Celsius.

Write a Python function that conforms to the following

 


Func 7

TC Works the Motor Pool

Budgets are tight at UNI. Everyone is doing extra duties.   As part of this TC (The Cat. Our school mascot.) has started to help over at the motor pool where the University rents cars to faculty members for business trips.  If a department wants to rent a car from the motor pool it costs:

 

Write a Python function that conform to the following:


 


Func 8

TC Works in the office of Human Resources

TC has jumped over to HR to help in the accounting department. This month his job is to help generate the W2 forms that tell employees what taxes they owe for the year.

Suppose that the federal government has implemented a new "easy" tax rate

 

Write a Python function that conforms to the following: