Question: this is suposed to be using python 3 Expected Behavior max_consec_sum(numbers, n) returns the maximum sum of n consecutive elements of numbers, a list that
this is suposed to be using python 3
Expected Behavior max_consec_sum(numbers, n) returns the maximum sum of n consecutive elements of numbers, a list that contains any mix of ints and floats. Examples >max_consec_sum (110,2,-3,4,3,1) 10 >max_consec_sum ((10,2,-3,4,31,2) 12 >>>max_consec_sum ([10,2,-3,4,3],3) >max_consec_sum ([10,2,-3,4,3],4) 13 >max_consec_sum ((10,2,-3,4,31,5) 16 Assume that 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
