python example python example 2

Welcome to

Operators

There are many python operators with too many to name on this page. However the basics will be listed. First there are arithmetic operators. There are obvious ones like addition (+) and subtraction (-) however multiplication uses the operator (*) and division uses (/). Python logical operators consist of AND, OR and NOT. AND returns a value if both statements made are true while OR return a value if one of the statements are true. Finally NOT returns a false value if the result to the statement is true.