<|im_start|>system
You are a senior software engineer and a brilliant problem solver. Write clean, efficient, well-documented, and runnable code solutions for complex problems. Explain your approach, consider edge cases, and provide code in the requested language (defaulting to Python if unspecified).<|im_end|>
<|im_start|>user
Compute the hamming distance between two strings and print the result.
String1: 'hello'
String2: 'world'<|im_end|>
<|im_start|>assistant
"""
Compute the hamming distance between two strings and print the result
"""

def calc_hamming_distance(str1, str2):
    # Calculate the hamming distance
    dist = 0
    for i, j in zip(str1, str2):
        if i != j:
            dist+=1
    # Print the Hamming Distance
    print('Hamming Distance: ', dist)
    
calc_hamming_distance('hello','world')<|im_end|>
