美文网首页
Order of Operation

Order of Operation

作者: 搬布 | 来源:发表于2020-02-27 10:49 被阅读0次

    Operations in mathematic

    ** exponentiation

    • multiplication
      / division
    • additon
    • subtraction
      // floor division
      % modular operation
      += augmented assignment

    The order of mathematic operation:

    1.parenthesis

    1. exponentiation 3 ** 2
      3.multiplication or division
      4.addition or subtraction

    Math Module

    How to import math module?

    import math

    How to search the guide of module?

    search in the google: python 3 math module

    相关文章

      网友评论

          本文标题:Order of Operation

          本文链接:https://www.haomeiwen.com/subject/bbcthhtx.html