现在有一段程序如下,请问程序运行的结果是什么?
def fun(level):
if level < 1:
raise Exception('Invalid level!')
print(3)
try:
fun(0)
except Exception as err:
print(1)
else:
print(2)
0
1
2
3