【异常处理】管事尝试访问不存在的物资,以下代码执行后,输出结果是?( )
s = ['水囊', '干粮'] try: print(s[2]) except IndexError: print('物资不存在')
None
'水囊'
'物资不存在'
IndexError