I'm attempting to output an integer as a hex with 0 padding AND center it.
data = 10
I can do one or the other:
'{:#04x}'.format(data) # my attempt at PADDING
'{:^#14x}'.format(data) # Centers Correctly
I can't figure out how to combine the two the Output I want is:
0x0a # centered in a width of 14