Write a python script to store a hexadecimal number 2F in a variable and print it in octal format.
#. Write a python script to store a hexadecimal number 2F in a variable and print it in
#octal format.
a=0x2F
print(oct(a))
#. Write a python script to store a hexadecimal number 2F in a variable and print it in
Comments
Post a Comment