题目内容

以下表达式,结果为True的是哪个?

A. (2>1) or (3>2)
B. (2<1) and (3>2)
C. (2<1) or (3<2)
D. (2>1) and (3<2)

查看答案
更多问题

以下程序代码的执行结果是( ) from math import sqrt print(sqrt(3)*sqrt(3)==3)

A. 3
B. True
C. False
D. sqrt(3)*sqrt(3)==3

在python中可以使用import或者from...import...两种方式引入库,假设库名为libName,libName库中包含的函数有fun1、fun2、fun3等下面选项中描述错误的是()

A. 引入整个库的方法为:import libName
B. 从库中引入多个函数的方法为:from libName import fun1,fun2,fun3
C. 从库中引入fun1函数的方法为:from fun1 import libName
D. 从库中引入所有函数的方法为:from libName import *

print(123.4+5.6)的结果是:()

A. 129
B. 129.0
C. '129'
D. '123.4+5.6'

请问执行下面代码之后,x的值是:() a=1b=3a,x=b,a+3

A. 6
B. 1
C. 4
D. 3

答案查题题库