try:
if(a>b):
raise Value_Error;
else:
print("no err");
except "Value_Error":
print("value error ...");
else:
print("a is smaller");
value error is not getting printed or the raise statement is not raising the exception. Could someone help me by making "value error..." getting printed