mirror of
https://github.com/autistic-symposium/master-algorithms-py.git
synced 2025-04-29 20:26:07 -04:00
Update convert_to_hex.py
This commit is contained in:
parent
c87740bc66
commit
818626f205
@ -1,3 +1,8 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# author: bt3gl
|
||||||
|
|
||||||
|
|
||||||
def convert_to_hex(num: int) -> str:
|
def convert_to_hex(num: int) -> str:
|
||||||
|
|
||||||
hex_chars = "0123456789abcdef"
|
hex_chars = "0123456789abcdef"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user