Skip to content

juicyfruit2/float_manipulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

float_manipulation

Compulsory Task 1 Follow these steps:

  • Create a new Python file in your 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages