Question: PYTHON EXCERISES 1. Write and save a program which finds the area of a circle. Let X represent a radius of 7 and PI represent
PYTHON EXCERISES
1. Write and save a program which finds the area of a circle. Let X represent a radius of 7 and PI represent 3.14159. Store the answer in the variable Area and print(Area).
2. Modify the program you wrote for Exercise 1 and store in variable Z the value The area is =. Also, modify your print function to say print(Z,Area).
3. Write a program to find the area of a rectangle with length = 7 and width = 3. Remember the area of a rectangle is simply the length times the width.
4. Write a program to find the area of a triangle with base = 7 and height = 9. Remember the area of a triangle is found by taking 1/2 the base times the height.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
