Update convert_to_hex.py

This commit is contained in:
bt3gl 2023-07-30 15:56:44 -07:00 committed by GitHub
parent c87740bc66
commit 818626f205
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,3 +1,8 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# author: bt3gl
def convert_to_hex(num: int) -> str:
hex_chars = "0123456789abcdef"