Python Exception Type Exceptions Valueerror Python