please how do i get the correct answer (code in red).
Hi, Billy. Please review the following examples:
print("The hexadecimal form of 23 is:", hex(256))
print("The decimal form of 0x100 is:", int('0x100', 16))
print("The hexadecimal form of 23 is:", hex(1))
print("The decimal form of 0x100 is:", int('0x1', 16))
print("The hexadecimal form of 23 is:", hex(8755))
print("The decimal form of 0x100 is:", int('0x2233', 16))
1 Like