Decode School

Decode School - The School for Problem Solvers
Welcome to My Blog.
Need Assignment / Project Guidance (or) Training in Python?

Python Octal to Decimal

Python program to get an Octal number and covert it to Decimal Number 

Sample Input 1 :

14

Sample Input 1 :

12

Program or Solution

					    
							
num=0o12
print(num)

					    
					

Program Explanation

0O denotes octal literal