Skip to content

Commit 5ccc731

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent d3fd785 commit 5ccc731

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conversions/bianry_to_excessthree.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def binary_to_excess3(binary_str: str) -> str:
1919
excess3_value = decimal_value + 3
2020

2121
# Convert back to 4-bit binary
22-
excess3_binary = format(excess3_value, '04b')
22+
excess3_binary = format(excess3_value, "04b")
2323

2424
return excess3_binary
2525

0 commit comments

Comments
 (0)