26. Problem to find the max min and sum of the list.

In this program, we will take a user input as a list. Find the max min and sum of the list using in-built functions. Print the final output with the help of the below-given steps.

Max Min and Sum of the list elements:

Steps to solve the program
  1. Take a list as input.
  2. Find the minimum element from the list using min().
  3. Find the maximum element from the list using max().
  4. Find the sum of the list using sum().
  5. Print the output.

Output :

Related Articles

Remove data from the list using pop method

Check whether a list contains a sublist

Leave a Comment