Question: using beginner python ( ) Coding Exercise: Pizza Circles Your friends have eaten their square pizzas and are now ordering a round pizza. Write a
using beginner python
( ) Coding Exercise: Pizza Circles Your friends have eaten their square pizzas and are now ordering a round pizza. Write a program to calculate the area of this circular pizza. The input is a float r, which represents the radius in cm. The output should be the area in cm?, calculated using the formula A=pi*r2. Use Python's pi feature instead of typing 3.1415... 1 # delete this comment and enter your code here 2 Run program Enter test input Open in console Visualize More actions... Coding Exercise: Geometric Mean ( ) The geometric mean of two numbers a and b is the number Vab (It is used to compare aspect ratios of display screens and describe the average growth rate of a population.) Write a program that reads two lines of positive float from input, and outputs their geometric mean. Example: If the input is 5.0 20.0 then the output should be 10.0. 1 # delete this comment and enter your code here 2 Run program Enter test input Open in console Visualize >
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
