Skip to content

Commit

Permalink
updated binary_to_hex
Browse files Browse the repository at this point in the history
updated binary_to_hex
  • Loading branch information
MarcDarazi99 committed Jan 11, 2025
1 parent 187ddc4 commit 12d36d3
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions solutions/binary_to_hex.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,6 @@
that it contains only binary digits (0s and 1s) and performs the conversion
accurately.
Functions:
- binary_to_hex(binary_str): Converts a binary string to its hexadecimal representation.
Usage Example:
>>> from binary_to_hex import binary_to_hex
>>> binary_to_hex("1101")
'D'
"""

def binary_to_hex(binary_str):
Expand Down

0 comments on commit 12d36d3

Please sign in to comment.