📜  python try else - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:01.999000             🧑  作者: Mango

代码示例1
try:
    a=2*3
except TypeError:
    print("Exception raised")
else:
    print("Everything is ok.")