题目内容

输入三角形的三条边a,b,c,则判断是否构成三角形的判定条件为()

A. a+b>c and a+c>b and c+b>a
B. a+b>c or a+c>b or c+b>a
C. a+b>c
D. a+c>b

查看答案
更多问题

已知aList = [3, 4, 5, 6, 7, 9, 11, 13, 15, 17]则aList[::-1]的结果为:

A. [3, 4, 5, 6, 7, 9, 11, 13, 15, 17]
B. [17, 15, 13, 11, 9, 7, 6, 5, 4, 3]
C. [17]
D. []

已知aList = [3, 4, 5, 6, 7, 9, 11, 13, 15, 17]则aList[1::2]的结果为:

A. [4, 6, 9, 13, 17]
B. [3, 4, 5, 6, 7]
C. [3, 4]
D. [3,6,11,17]

已知aList = [3, 4, 5, 6, 7, 9, 11, 13, 15, 17]则aList[3:-10:-1]的值为:

A. [6, 7, 9, 11, 13, 15, 17]
B. [7, 9, 11, 13, 15, 17]
C. [5,4,3]
D. [6, 5, 4]

已知:aList= [3, 5, 7]则aList[len(aList):]结果为()

A. []
B. 报错
C. [3,5,7]
D. [7,5,3]

答案查题题库