Follow these steps: ● Create a new Python file in this folder called float_manipulation.py ● You will need to import the math module and use its built-in functions to complete this task. ● Write a program that starts by asking the user to input 10 floats (these can be a combination of whole numbers and decimals). Store these numbers in a list. ● Find the total of all the numbers and print the result. ● Find the index of the maximum and print the result. ● Find the index of the minimum and print the result. ● Calculate the average of the numbers and round off to 2 decimal places. Print the result. ● Find the median number and print the result
Follow these steps:
● Create a new Python file in this folder called float_manipulation.py
● You will need to import the math module and use its built-in functions to
complete this task.
● Write a program that starts by asking the user to input 10 floats (these can
be a combination of whole numbers and decimals). Store these numbers
in a list.
● Find the total of all the numbers and print the result.
● Find the index of the maximum and print the result.
● Find the index of the minimum and print the result.
● Calculate the average of the numbers and round off to 2 decimal places.
Print the result.
● Find the median number and print the result.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images
The current challenge when I try run this code it doesn't give me the desired output like it's shown.