Question: 1) Make a python function that calculates the area of a circle - Get input from the user - you need to pass the argument

1) Make a python function that calculates the area of a circle - Get input from the user - you need to pass the argument to the function - print the result. Formula - 3.14 * radius * radius - Use math module to get pi value - don't hard-code the 3.14 value in your code.

2) A certain paper order costs $5.00 per copy for orders of less than 20 copies, $3.25 for orders of 20-120 copies, and $1.90 per copy for orders of 121 copies or more. Make a function that returns a total price for the order.

Step by Step Solution

3.42 Rating (149 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Here are two Python functions to accomplish the tasks you described 1 Calculate the Area of a Cir... View full answer

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 Programming Questions!