結果 : write a program in python to handle user defined exception for given problem