-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}")
'Beakjoon&프로그래머스 > 파이썬' 카테고리의 다른 글
[백준/파이썬] 23841번 데칼코마니 (0) | 2023.04.30 |
---|---|
[백준/파이썬] 13419번 탕수육 (0) | 2023.04.29 |
[백준/파이썬] 15814번 야바위 대장 (0) | 2023.04.27 |
[백준/파이썬] 4606번 The Seven Percent Solution (0) | 2023.04.26 |
[백준/파이썬] 13224번 Chop Cup (0) | 2023.04.25 |