scores = [[90, 88, 70], [85, 90, 90], [100, 100, 70], [30, 90, 80], [40, 10, 20], [83, 88, 80]]
dap = 0

for student in scores:
    answer = 0
    if student[0] >= 80:
        answer += 1
    if student[1] >= 88:
        answer += 1
    if student[2] >= 70:
        answer += 1
    if answer >= 3:
        dap += 1

print(dap)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: