Skip to content

Commit 4507067

Browse files
authored
Update HammingCode.py
1 parent 775285b commit 4507067

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

HammingCode.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
2-
31
def hamming_encode(data):
42
r = 1
53
while 2**r < len(data) + r + 1:

0 commit comments

Comments
 (0)