scores = [80, 35, 90]
fail = 40
total = 0
for i in range(len(scores)):
total += scores[i]
if scores[i] < fail:
print("Fail")
break
total = total // len(scores)
if total >= 60:
print("Pass")
To embed this project on your website, copy the following code and paste it into your website's HTML: