下列语句输出的结果是________。try: lst=10*[0] x=lst[10] print("Done")except IndexError: print("Index out of bound")else: print("Nothing is wrong")finally: print("Finally we are here") print("Continue")
选项:
A:DoneIndex out of boundContinue;
B:DoneIndex out of boundFinally we are hereContinue;
C:DoneNothing is wrongFinally we are hereContinue;
D:Index out of boundFinally we are hereContinue
发布时间:2024-05-21 11:58:53