We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3e4ed8a + dbea02c commit 54e8005Copy full SHA for 54e8005
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