How To Print Capitalized Hexadecimal In Python, Python also allows for string formatting to display numbers in hexadecimal.