Question: Hi there need help fixing my first code for python it failed some hidden test which i dont know how to fix... and also need

Hi there need help fixing my first code for python it failed some hidden test which i dont know how to fix... and also need help the remove_even_list function. Much thanks :) Hi there need help fixing my first code for python it

failed some hidden test which i dont know how to fix... and

the remove_even_list function??

also need help the remove_even_list function. Much thanks :) the remove_even_list function??

Complete the get_pass_average function which is passed a list of integer numbers as a parameter where each integer represents a mark out of 100. The function returns the average of all the marks which are 50 or more. If there are no pass marks then the average pass mark should be set to -1 For example Test Result list1-[50, print (%.2 83, 26, 65, 92, 29, 77, 64] % (get-pass-average (11st!) 71.83 Answer (penalty regime: 0 %) 1def get_pass_average (marks): 3 if len(marks)0: return -1 total -0 count0 7 for m in marks: 10 if m50: total total +m 12 13 14 15 16 17 count count 1 return-1 average - total / count if count0: else: return average

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!