Question: Create a file called hamming.py. In that file, write the following function: 1: hamming, which takes 2 strings and returns the hamming distance between those
Create a file called hamming.py. In that file, write the following function: 1: hamming, which takes 2 strings and returns the hamming distance between those strings. Then, create an if name __main__' block. That block should allow the user to pass two strings. Then, it should print the two strings and the hamming distance between them, separated by tabs
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
