Python Decimal to Octal

Python program to get decimal number and covert it to Octal Number

Sample Input 1 :

12

Sample Output 1 :

14

Try your Solution

Strongly recommended to Solve it on your own, Don't directly go to the solution given below.

#write your code here

Program or Solution

				
			
					<class 'OSError'>
			
				
			

Program Explanation

:O specifies octal value

Comments