Question: List months _ list is created with three integers read from input. Using list methods, initialize: count _ val with the number of occurrences of

List months_list is created with three integers read from input. Using list methods, initialize:
count_val with the number of occurrences of 13 in months_list.
sum_val with the sum of all the elements in months_list.
max_val with the largest element of months_list.
min_val with the smallest value in months_list.
Click here to show example
# Reads three values from input into months_list
months_list =[(input()),(input()),(input())]
['. Your code goes here ".
print (f'13 is found {count_val} times in {months_list}')
print (f'List sum: {sum_val}')
print (f'Max: {max_val
 List months_list is created with three integers read from input. Using

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 Databases Questions!