Code
      
    
    
    # Demonstration of if...else statements in python programs...
a=int(input("Enter your age: "))
print("Your age is: ",a)
if(a>18):
    print("You can drive.")
else:
   print ("You can not drive.")
    
      Output
      
    
    
    Enter your age: 34 Your age is: 34 You can drive.