What does -= mean in python subtraction assignment operator - php中文网

In Python, the function of the -= operator is to subtract the value of the variable from the right and assign the result to the variable, which is equivalent to a=a-b. 1) It is suitable for data types such as integers, floating point numbers, lists and strings. 2) Pay attention to type consistency, performance and code readability when using it. 3) The string is immutable and similar effects ...

Besøk visit

Ditt søk og dette resultatet

  • Denne søketerm vises i resultatet: python membership operator tutorials
  • Nettstedet samsvarer med ett eller flere av søkeordene dine
  • Andre nettsteder som inneholder søkeordene dine, linker til dette resultatet
  • Resultatet er på Norsk