赞
踩
1、以下哪个表达式,可以正确表达 “ a大于b并且a大于c ” :( )
A. a>b and b>c
B. a>b or a>c
C. a>b and a>c
D. a <= b or a <= c
2、运行这段程序,输出的结果是:( )
- f = 100
- for i in range(100):
- f -= 2
- if f == 90:
- break
- print(i)
A. 5 B. 92 C. 4 D. 90
3、运行这段代码,打印出的结果是:( )
- for i in range (4):
- print(i+1)
A. 0 1 2 3 B 0 1 2 3 4 C. 1 2 3 4 D 1 2 3 4 5
4、运行这段代码,打印出的结果是:( )
- m = 8
- n = 5
- if m > 10 or n < 7:
- m = m + 2
- if m == 10:
- print(1)
- if m > 6 and n < 8:
- print(2)
A 1 B 12
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。