Question: in PYTHON The user will be presented with a menu. The options will be listed as calculate maximum in option 1, calculate minimum in option
in PYTHON
The user will be presented with a menu. The options will be listed as calculate maximum in option 1, calculate minimum in option 2, calculate average in option 3, calculate summation in option 4, calculate absolute value in option 5. After the list items have been taken from the user, the user will be asked to choose one of these options. A separate function should be created for each option. In the function inputs, the 1-dimensional list will be used as input and the result of the operation in the option will be returned. Write this application using the Python programming language. Note: It is forbidden to use built-in functions such as max, min, mean, sum, abs or any built-in functions from another library.
Notice : Program kt rnei, sadece bu kt iin deil, soruda istenen tm durumlara cevap veren program oluturulmaldr.
---------- MENU -----------
- 1. Calculate Maximum -
- 2. Calculate Minimum -
- 3.Calculate Average -
- 4. Calculate Total -
- 5.Calculate Absolute Value -
Enter list size: 6
1. List element: -12
2.List element: 5
3.List element: 8
4. List element: 12
5.List element: 20
6.List element: 32
Your choice: 2
Minimum value of the list: -12
Your selection: 5
1. List element: 12
2.List element: 5
3.List element: 8
4. List element: 12
5.List element: 20
6.List element: 32
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
