题库 Python题库 题目列表 想要在Python中导入math模块中的sqrt(x)函数,下列程...
单选题

想要在Python中导入math模块中的sqrt(x)函数,下列程序段错误的是?( )

A.

import math
math.sqrt(x)

B.

from math import sqrt as t
t(x)

C.

import math as m
m.sqrt(x)

D.

import math
sqrt(x)

题目信息
2023年 12月 选择题
20%
正确率
0
评论
44
点击