# Python 3 code to demonstrate 
# working of assert 

# initializing number 
a = 4
b = 0

# using assert to check for 0 
print ("The value of a / b is : ") 
assert b != 0, "Divide by 0 error"
print (a / b) 
