📜  在 python 代码示例中赋值

📅  最后修改于: 2022-03-11 14:47:13.986000             🧑  作者: Mango

代码示例1
Operator:  Example:  Equivalent:
  =         a = b     a = b
  +=        a += b    a = (a + b)
  -=        a -= b    a = (a - b)
  *=        a *= b    a = (a * b)
  /=        a /= b    a = (a / b)
  %=        a %= b    a = (a % b)
  //=       a //= b   a = (a // b)
  **=       a **= b   a = (a ** b)