If you want to raise an exception when a certain condition occurs, use raise keyword. # Raise built-in exception 'NameError' raise NameError('An exception ...
確定! 回上一頁