题目内容

下列程序执行后的结果是( )。def showplus(x):return x + 1return x + 2print(showplus(5))

A. 6
B. 7
C. 5
D. none

查看答案
更多问题

假设x是有5个元素的列表,切片操作x[10:]是无法执行的,会抛出异常。

A. 对
B. 错

Python内建异常类的基类是BaseException

A. 对
B. 错

Anna was at the swimming pool with her husband.

A. 对
B. 错

Anna's husband has started to play tennis.

A. 对
B. 错

答案查题题库