Anyone Can Code.
Operators in Python are of many types. Their purpose is to perform operations on 2 things. The different operators we have are:
To use an operator we would use this syntax: (item a) <operator> (item b)
At the end of this section, you will see that we have a table with operator precedence. While using operators you have to keep in mind that they are executed in a certain order by the interpreter, similar to the way we perform different mathematical operations using the BODMAS/PEDMAS rules.
That's it for this tutorial! Click Next to access the next tutorial!
This site uses cookies to improve your experience as well as for site metrics. To see more, check out our Privacy Policy