{{tag>projects cloud club computing virtualization machines VMs AWS Azure GCP}}
[[python_club|About the Club]]\\
==== Python Club Topics - Operators ====
==== Operators ====
- Operators perform operators on variables
==== Addition Operator ====
- Add numbers, strings, or list items together
a = ["apple"]
b = ["banana"]
print (a+b)
==== List of operators ====
- Addition ( eg. + )
- Subtraction ( eg. - )
- Multiplication ( eg. * )
- Modulus ( eg. % )
==== Assignment operators ====
- The following are the same expression
x = 9
x += 3
x = x + 3
print(x)
- The following are the same expression
x = 33
x -= 3
x = x - 3
print(x)
==== Comparison operators ====
- Equal to ( eg. == )
x = 3
y = 5
print(x == y)
- Grater than or equal to ( eg. >= )
x = 3
y = 5
print(x >= y)
- Less than or equal to ( eg. <= )
x = 3
y = 5
print(x <= y)