Python Notes Chapter 2
Original link: https://www.bytecho.net/archives/2058.html arithmetic operation / + – * (results are all decimals,) % (remainder) // (for quotient, round down) ** (exponentiation) Arithmetic expressions with decimals, the result is a decimal (unless other conversions are made) Arithmetic precedence ** * / // % + – (multi-use () can replace priority) Simultaneous assignment of arithmetic operations […]
Python Notes Chapter 2 Read More »