Try this :
for dec_ldev in range(0,16777215):
hex_ldev = hex(dec_ldev)[2:].zfill(6)
print("{}{}{}:{}{}:{}{}".format('',*hex_ldev))
1
solved Generate a range of hex numbers in format [duplicate]
Try this :
for dec_ldev in range(0,16777215):
hex_ldev = hex(dec_ldev)[2:].zfill(6)
print("{}{}{}:{}{}:{}{}".format('',*hex_ldev))
1
solved Generate a range of hex numbers in format [duplicate]