1.import导入相应的包 import math print (math.sqrt(25)) 2.from...import导入包中相应的模块 from math import sqrt print(sqrt(25))