题目内容

要使用模块math,必须先导入该模块,正确的导入命令是:

A. import from math
B. import math from *
C. formmath import *
D. from import math *

查看答案
更多问题

要显示模块math中的所有函数,使用的命令是:

A. importmath
B. dir(math)
C. help(math)
D. list(math)

一下哪个函数是用来删除变量的

A. del
B. str
C. print
D. input

以下哪个变量命不符合规则:

A. true
B. __x__
C. def
D. rate

以下哪个表达式不能表示字符串s1='Ihaveateanapple!'

A. s1[:]
B. s1[0:]
C. s1[:len(s1)]
D. s1[0:len(s1)-1]

答案查题题库