We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f15194 commit dbea02cCopy full SHA for dbea02c
bit_manipulation/hamming_code_generator.py
@@ -46,7 +46,7 @@ def hamming_15_11(number: str) -> str:
46
47
if len(number) == 11 and is_bin:
48
digits = [int(number[i]) for i in range(len(number))]
49
-
+
50
total_ones = sum(digits)
51
hamming_digits = [0] * 16
52
0 commit comments