#Use "X" to convert the number into upper-case Hex format:
txt = f"The Hexadecimal version of 255 is {255:X}"
print(txt)