Write a python script to store an octal number 125 in a variable and print it in binary format

# Write a python script to store an octal number 125 in a variable and print it in binary
#format
a=0o125
print(bin(a))

Comments

Popular posts from this blog

Write a python script to display the current date and time. First create variables to store date and time, then display date and time in proper format (like: 13-8-2022 and 9:00 PM """