mirror of
https://github.com/autistic-symposium/master-algorithms-py.git
synced 2025-05-23 08:51:31 -04:00
Update convert_to_hex.py
This commit is contained in:
parent
c87740bc66
commit
818626f205
1 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
# author: bt3gl
|
||||
|
||||
|
||||
def convert_to_hex(num: int) -> str:
|
||||
|
||||
hex_chars = "0123456789abcdef"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue