上传者: 38641764
|
上传时间: 2021-09-23 19:48:03
|
文件大小: 37KB
|
文件类型: PDF
本文实例讲述了Python中pow()和math.pow()函数用法。分享给大家供大家参考,具体如下:
1. 内置函数pow()
>>> help(pow)
Help on built-in function pow in module __builtin__:
pow(...)
pow(x, y[, z]) -> number
With two arguments, equivalent to x**y. With three arguments,
equivalent to (x**y) % z, but may be more efficient (e.g. for lon