📅  最后修改于: 2022-03-11 14:45:43.372000             🧑  作者: Mango
try:
print("I will try to print this line of code")
except:
print("I will print this line of code if an error is encountered")
else:
print("I will print this line of code if there's no error encountered")
finally:
print("I will print this line of code even if there's an error or no error encountered")