The raise statement allows the programmer to force a specified exception to occur. For example: >>> >>> raise NameError('HiThere') Traceback (most recent ...
確定! 回上一頁