Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

using beginner python ( ) Coding Exercise: Pizza Circles Your friends have eaten their square pizzas and are now ordering a round pizza. Write a

image text in transcribedusing 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions