A、 5+4j>2-3j
B、 abc'>'xyz
C、 3>2>1
D、 (3,2)< ('a','b)
答案:C
A、 5+4j>2-3j
B、 abc'>'xyz
C、 3>2>1
D、 (3,2)< ('a','b)
答案:C
A. 程序出错
B. ”ok”
C. 没有输出
D. ”yes”
A. try 语句
B. break 语句
C. def 语句
D. continue 语句
A. 空格
B. 百分号
C. 逗号
D. 分号
A. >>> numbers[6]
B. >>> numbers[5:-1]
C. >>> numbers[-4:-1]
D. >>> numbers[0: 5]
A. p
B. python
C. py
D. pt
A. format()
B. find()
C. lower()
D. print()
A. Python 中的 for 语句可以在任意序列上进行迭代访问,例如列表、字符串和元组
B. 循环可以嵌套使用,例如一个 for 语句中有另-个 for 语句,一个 while 语句中有一个 for 语句等
C. 在 Python 中没有 switch-case 的关键词,可以用 if...elif...elif...来等价表达
D. 在 Python 中 if...elif...elif...结构中必须包含 else 子句
A. 2
B. 1
C. 2
D. 1
A. NameError
B. ZeroDivisionError
C. IOError
D. Exception
A. 52473
B. hello world
C. 程序出错
D. helloworld