n=int(input("Enter the octal number = "))
s=['000','001','010','011','100','101','110','111']
while n!=0:
d=n%10
print(s[d],end="")
n=n//10
Hello user, This is a blog that provides you various coding ideas and projects in Python language.