Question: PYTHON 1)Write a function called pyramid(height) that accepts a parameter height. It then prints a pyramid of that height. (30 points) 2) Write a function

PYTHON

1)Write a function called pyramid(height) that accepts a parameter height. It then prints a pyramid of that height. (30 points)

2) Write a function called upsidedown_pyramid(height) that accepts a parameterheight. It then printsan upside-down pyramid of that height. (30 points)

3) Write a function called temperature(x) that accepts a parameter x. The comfortable temperature range for humans is 7278 and that for cats is 7585. The function then returns a message as shown in the printout.(40 points)

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!