try: print(120+[100,200]) except: print(捕獲到了異常) 程序的執(zhí)行結(jié)果是()。
A.hello B.SyntaxError C.捕獲到了異常 D.[100,200]
try: print(b) except: print(’b沒(méi)有定義’) 程序的執(zhí)行結(jié)果是()。
A.0 B.1 C.NameError D.b沒(méi)有定義
A.ImportError B.IndexError C.TypeError D.AttributeError