

#list numbers in binay
for i in range(17):
    print('{0:>2} in binary is {0:>08b}'.format(i))

print('*'*50)
#list numbers in hexadecimel
for j in range(17):
    print('{0:>2} in hex is {0:>02x}'.format(j))

