How To Handle Value Error In Python Examples