chapters = {1:5, 2:46, 3:52, 4:87, 5:90}hexStr = "3f8"print "Hex String: " + hexStr.upper().rjust(8,'0')printfor x in chapters: print "Chapter " + str(x) + str(chapters[x]).rjust(15,'.')
Name (required)
email (will not be published) (required)
Website