sum(weighted) = 1. The value of
for num in weighted: score = float(input('Enter scores: ')) * num total += score total /= sum(weighted) total2 += total total2 /= len(students)is what I am trying to use. Since sum(weighted) = 1, does it affect the value of total?