You are viewing a single comment's thread. Return to all comments →
The hexadecimal portion must be in uppercase if it contains letter(s). So try:
he_ = str(hex(num)).replace('0x','').upper()
Seems like cookies are disabled on this browser, please enable them to open this website
String Formatting
You are viewing a single comment's thread. Return to all comments →
The hexadecimal portion must be in uppercase if it contains letter(s). So try: