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, 23.06.2019 08:30
Based on your knowledge of a good network, describe what you think is a perfect network would be. what kind of information and resources could users share on this network. what would the network administrator do? what kind of communication would be used?
Answers: 1
question
Computers and Technology, 23.06.2019 10:00
How do i delete my account on this because i didn't read this agreements and also i put age at xd
Answers: 1
question
Computers and Technology, 23.06.2019 13:00
In excel - calculate the actual increase/decrease from first quarter to the second quarter then subtract subtract first quarter value from second quarter total then divide result by first quarter value
Answers: 1
question
Computers and Technology, 23.06.2019 21:30
To move a file or folder in microsoft windows, you can click and hold down the left mouse button while moving your mouse pointer to the location you want the file or folder to be, which is also known as.
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
Mathematics, 04.10.2020 08:01
question
English, 04.10.2020 08:01
Questions on the website: 13722367