Question: IN PYTHON PLEASE Program Specifications Write a program to calculate the minimum, maximum, mean, median, mode, and whether a list is a palindrome. Note: This

IN PYTHON PLEASE Program Specifications Write a program to calculate the minimum, maximum, mean, median, mode, and whether a list is a palindrome.
Note: This program is designed for incremental development. Complete each step and submit for grading before starting the next step. Only a portion of tests pass after each step but confirm progress.
Step 0. Review the template code. A list is filled with integers from standard input.
Step 1(2 pts). Use a loop to determine and output the minimum and maximum values in the list. Submit for grading to confirm one test passes.
Ex: If input is:
41549917
the output is:
Minimum: 1 Maximum: 99
Step 2(2 pts). Sum all list elements and calculate the mean (or average). Output the mean with one decimal place using print(f"Mean: {mean:.1f}").
Ex: If input is:
41549917
the output is:
Minimum: 1 Maximum: 99 Mean: 21.7
Step 3(2 pts). Use a loop to determine if the list is a palindrome, meaning values are the same from front to back and back to front. Output "True" or "False". Submit for grading to confirm three tests pass.
Ex: If input is:
123454321
the output is:
Minimum: 1 Maximum: 5 Mean: 2.8 Palindrome: True
Step 4(1 pt). The template code includes a call to sort(), which sorts the list elements into ascending order. Do not sort the list before step 4. After sorting, identify the median. The median is located in the middle of the list if the list's length is odd. Otherwise, the median is the average of the middle two values. Output the median with one decimal place. Submit for grading to confirm four tests pass.
Ex: If input is:
225677
the output is:
Minimum: 2 Maximum: 7 Mean: 4.8 Palindrome: False Median: 5.5
Step 5(3 pts). Challenging! Identify the mode after the list is sorted in ascending order. The mode is the value that appears most frequently. Assume only one mode exists. Hint: Use a loop to process each list element, looking for the longest sequence of identical values. Submit for grading to confirm all tests pass.
Ex: If input is:
122233456
the output is:
Minimum: 1 Maximum: 6 Mean: 3.1 Palindrome: False Median: 3.0 Mode: 2
```
# Step 0: Input values
nums =[int(n) for n in input().split()]
# Step 1: Find minimum and maximum values
# Type your code here.
# Step 2: Calculate mean
# Type your code here.
# Step 3: Check if palindrome
# Type your code here.
# Sort List
nums.sort()
# Step 4: Find and output median
# Type your code here.
# Step 5: Find and output mode
# Type your code here.
```
IN PYTHON PLEASE Program Specifications Write a

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!