Question: In Python - I wish to write a program that can help me with quick calculations for a set of numbers that I enter. I
In Python I wish to write a program that can help me with quick calculations for a set of numbers that I enter.
I would also like it to give me quick information on mathematical constants. I would like to be able to quickly display the values of Pi Eulers Number e and various trigonometric functions sine cosine and tangent of degrees.
The program will not contain any repeated code and have a minimum of two custom functions besides Main. The program will use builtin list functions to process the calculations of:
The lowest number in the list.
The highest number in the list.
The total of the numbers in the list.
The average of the numbers in the list.
The program will use the math library to display the math constants: Pi e the sine cosine and tangent of degrees.
The program should be a menu driven program that asks the user to enter a list of numbers at least but not limited to and analyze the list of numbers with the following menu options
Enter Data
Analyze My Data
Display math constants
Exit
The program should ask the user for a list of numbers with option The data should be validated to make sure it is a number.
The program should store the numbers in a list then using builtin list functions display the statistics about the data when option is selected.
Option is using the math library to give me the numerical values of various math constants and trigonometric functions of sine cosine and tangent of degrees.
The program should end gracefully and thank the user with option
All output should be cleared labelled. All output averages trionometric functions sin cos tan involving division or decimal numbers should be rounded to places.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
