From 818626f2055b58506e8cd49149dfbd65041fb050 Mon Sep 17 00:00:00 2001 From: bt3gl <138340846+bt3gl-google@users.noreply.github.com> Date: Sun, 30 Jul 2023 15:56:44 -0700 Subject: [PATCH] Update convert_to_hex.py --- bit_manipulation/convert_to_hex.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bit_manipulation/convert_to_hex.py b/bit_manipulation/convert_to_hex.py index 84b4de6..0b25aec 100644 --- a/bit_manipulation/convert_to_hex.py +++ b/bit_manipulation/convert_to_hex.py @@ -1,3 +1,8 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# author: bt3gl + + def convert_to_hex(num: int) -> str: hex_chars = "0123456789abcdef"