[構文.py]例外処理 Python 2026.07.20 try/expect文 エラーが起きたら行を分ける try: x = 10 / 0 except ZeroDivisionError: print("0では割れません")
コメント