subject

Hello could you help me to make this program in python. Write a program that displays a menu that allows the user to choose between two options:

T - Area calculation of a triangle
C - Calculation of the area of a circle
 Chosen Option: _

If you choose to calculate the area of a triangle (by typing T or t), the program then has to ask for the base and height and print the area. If you answer that you want to calculate the area of a circle (writing C or c), the program then has to ask for the radius and write the area. Remember that the area of a triangle is base times height divided by 2 and that the area of a circle is Pi (approximately 3.141592) times the radius squared.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:00
What allows you to create a wireless connection among your smart devices
Answers: 2
question
Computers and Technology, 23.06.2019 19:30
Anul 2017 tocmai s-a încheiat, suntem trişti deoarece era număr prim, însă avem şi o veste bună, anul 2018 este produs de două numere prime, 2 şi 1009. dorel, un adevărat colecţionar de numere prime, şi-a pus întrebarea: “câte numere dintr-un interval [a,b] se pot scrie ca produs de două numere prime? “.
Answers: 1
question
Computers and Technology, 23.06.2019 22:30
Jamie has to enter the names, employee id’s, and income of a group of employees into a worksheet. which option will jamie use to describe the data
Answers: 3
question
Computers and Technology, 24.06.2019 04:10
Write a program that reads a set of floating-point values. ask the user to enter the values, then print • the average of the values. • the smallest of the values. • the largest of the values. • the range, that is the difference between the smallest and largest. of course, you may only prompt for the values once.
Answers: 3
You know the right answer?
Hello could you help me to make this program in python. Write a program that displays a menu that a...
Questions
question
Physics, 11.11.2020 01:00
question
Mathematics, 11.11.2020 01:00
question
Mathematics, 11.11.2020 01:00
question
Mathematics, 11.11.2020 01:00
question
Mathematics, 11.11.2020 01:00
question
Mathematics, 11.11.2020 01:00
question
Mathematics, 11.11.2020 01:00
Questions on the website: 13722363