modify code
This commit is contained in:
parent
ba7016dc3e
commit
d4339780b2
@ -1,6 +1,5 @@
|
|||||||
from Crypto.Util.number import *
|
from Crypto.Util.number import *
|
||||||
import base64
|
import base64
|
||||||
import statistics
|
|
||||||
|
|
||||||
def hamming_distance(str1: str, str2: str) -> int:
|
def hamming_distance(str1: str, str2: str) -> int:
|
||||||
if len(str1) != len(str2):
|
if len(str1) != len(str2):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user