开发者社区 问答 正文

Python的pow()函数的格式用法是什么?

Python的pow()函数的格式用法是什么?

展开
收起
真的很搞笑 2021-12-02 23:07:56 445 分享 版权
1 条回答
写回答
取消 提交回答
  • #格式用法 import math math.pow( x, y )

    import math # 导入 math 模块

    print "math.pow(100, 2) : ", math.pow(100, 2)

    2021-12-02 23:08:14
    赞同 展开评论