+ 1
Conversion
Write a program to convert octal no. to decimal no. having the capability to check whether the entered no. is not having any digit more than 7......
2 Respuestas
+ 1
Python will convert an oct to decimal easily here is example:
decimal to octal-
oct(42) #052
octal to decimal-
int('052',8) #42
+ 1
thanks