try:  
if '2' != 2:
raise "man"
else:
print("man has not exist")
except "man":
print ("man has exist")

Posted on by