0
This code is giving error help to fix it
3 Answers
+ 10
""" Python deals a lot with indentation, better use it in your code, otherwise it would always give an error """
def sum_of_middle_three(score1,score2,score3,score4,score5):
max_no = max(score1,score2,score3,score4,score5)
min_no = min(score1,score2,score3,score4,score5)
average=(score1+score2+score3+score4+score5)-max_no-min_no/3
return average
print(sum_of_middle_three (34,35,65,56,87))
0
can you please correct it in code