Python Raise Error And Correction Questions