CodeLab Academy 📞 9936 6696
← List Python · Level 6: Strings Code · 60 points ← #551 #553 →

#552. Hamming distance

You are given two strings of the same length. Count the positions where they are different. ### Input Two lines. ### Output A number.

Examples

Input
baba
aaba
Output
1
Input
aabbbababba
bbaaaaabaab
Output
10

💡 You can solve it with Python, JavaScript or blocks. Read the input line by line with input(). Don't print a question (like input("Number: ")). Print exactly what the output asks for, nothing more.

🔒 You can solve the first 3 problems without an account. Sign up for free to solve this one!