Coding-Riddles/parking.py
2025-01-20 11:37:00 -05:00

12 lines
No EOL
183 B
Python

num = int(input())
day1 = list(input())
day2 = list(input())
total = 0
for first, second in zip(day1, day2):
if first == "C" and second == "C":
total += 1
print(total)