Mega Code Archive
Categories
/
Python Tutorial
/
Data Type
Hexadecimal Output
print "%x" % 108 print "%X" % 108 print "%#X" % 108 print "%#x" % 108