def f1():
    x = 1/0
    
try:
    f1()
except ZeroDivisionError, obj:
    print obj
    