DD論壇's Archiver
論壇
›
Python
› module
redd
發表於 2016-9-21 15:14:30
module
import math
print math.sqrt(25)或
from math import sqrt
print sqrt(25)或
from math import *
redd
發表於 2016-9-21 15:17:56
import math
everything = dir(math)
print everything
redd
發表於 2016-9-21 17:28:04
from math import sqrt
print sqrt(13689)
頁:
[1]
查看完整版本:
module