# Write a function that accepts six project scores. # All scores are out of 100 points, # except the first (which is out of 30), # and the fifth (which is out of 50). # The function provides the highest average grade (as integer) # for all the projects by dropping the one with # the lowest percentage. For example, if a student got # a 65% on the first project (out of 30) and # a 55% on the fifth project (out of 50), # that fifth project would be dropped from the average calculation. # refer to the 1111 schedule page # - practice: decision # -- "I am very cool" # --- problem #6 def template(n1, n2, n3, n4, n5, n6): # END OF YOUR CODE test1 = template(0, 100, 100, 100, 50, 100) test2 = template(30, 0, 100, 100, 50, 100) test3 = template(30, 100, 0, 100, 50, 100) test4 = template(30, 100, 100, 0, 50, 100) test5 = template(30, 100, 100, 100, 0, 100) test6 = template(30, 100, 100, 100, 50, 0) test7 = template(15, 55, 55, 55, 25, 55) if test1 == 100: print("you got it RIGHT!") else: print("Please check your code") if test2 == 100: print("you got it RIGHT!") else: print("Please check your code") if test3 == 100: print("you got it RIGHT!") else: print("Please check your code") if test4 == 100: print("you got it RIGHT!") else: print("Please check your code") if test5 == 100: print("you got it RIGHT!") else: print("Please check your code") if test6 == 100: print("you got it RIGHT!") else: print("Please check your code") if test7 == 54: print("you got it RIGHT!") else: print("Please check your code")