单选题

想要在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)

赣ICP备20007335号-2