We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 775285b commit 4507067Copy full SHA for 4507067
HammingCode.py
@@ -1,5 +1,3 @@
1
-
2
3
def hamming_encode(data):
4
r = 1
5
while 2**r < len(data) + r + 1:
0 commit comments