use upper case letters to print hex value `value`,print('0x%X' % value)