Is assignment an operator in Python? -


i checked operator precedence in python 3(https://docs.python.org/3/reference/expressions.html#operator-precedence), , found there no assignment(=).

i want know if assignment operator or not. if not, why there many "assignment operator" info when googled? precedence relation other real operators(bool operator, comparison operator, etc)?

no. assignment statement in python.

that's why things assignment within if statements, acceptable in other languages, forbidden in python.


Comments

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -

minify - Minimizing css files -