본문 바로가기
Beakjoon&프로그래머스/파이썬

[백준/파이썬] 9296번 Grading Exams

by 현장 2023. 4. 28.

-Code

for t in range(int(input())):
    n = int(input())
    answer = input()
    test_input = input()
    res = 0

    for  i in range(n):
        if answer[i] != test_input[i]:
            res += 1
    print(f"Case {t + 1}: {res}")