Question: 3.12 LAB: Lists (Section 3.3) Given the list user_ages = [ 5, 7, 6, 1, 3, 2 ], display the: length of the list minimum
3.12 LAB: Lists (Section 3.3)
Given the list user_ages = [ 5, 7, 6, 1, 3, 2 ], display the:
- length of the list
- minimum element in the list
- maximum element in the list
- sum of all the elements in the list
The output should be:
Length: 6
Min: 1
Max: 7
Sum: 24
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
