如果表达式x>y为true或a<b为true,则表达式(x>y&&a<b)为true。
- 首页
- 司法考试
-
1.如果表达式x>y为true或ay&&a
-
2.已知x为非空列表,那么表达式 sorted(x, reverse=True) == list(reversed(x)) 的值一定是True
-
3.下列表达式的值为True的是什么?
-
4.x=list(range(10)),则表达式x[-4:]的值为
-
5.若已定义 x 和 y为double 类型,则表达式 x=1;y=x+7/2 的值是( )。
-
6.若已定义 x 和 y为double 类型,则表达式 x=1,y=x+3/2 的值是( ) 。
-
7.已知 x = list(range(10)),则表达式 x[-4:] 的值为( )
-
8.设 x,y,z 为 int 型变量,且 x=3,y=4,z=5 ,则下面表达式中值为 0 的是()
-
9.表达式 map(lambda x:x+5,1,2,3,4,5])的值为()
-
10.已知x =[1,11,111],那么执行语句x.sort(key=lambda x:len(str(x)),reverse=True)之后,x的值为_