### Preview lessons, content and tests

#### Computer Science & Programming solved. All in one platform.

1. To trial the platform and take tests, please take a few seconds to SIGN UP and SET UP FREE.
2. Searching for something specific? See our text overview of all tests. Scroll right for levels, and lists.

Join 30000+ teachers and students using TTIO.

### Simple Calculations

Operators (like +, - or the * and / symbols) are used to perform operations on variables and values. There are different types of operators, three of the main ones are:

````-Assignment (the = sign)`
`-Comparison (the == sign or the > and < signs)`
`-Arithmetic (+, -, %, *, /)````

Time to try out some simple calculations for yourself. A brilliant resource as you get deeper into programming is the following site. You can look up the reference index on the left and find examples for almost anything.

https://www.w3schools.com/python/python_operators.asp

### Teaching/Learning Presentation

Operators shown below with a link to w3schools -

### Try them yourself

Operator Name Example Try it
+ Addition x + y Try it »
- Subtraction x - y Try it »
* Multiplication x * y Try it »
/ Division x / y Try it »
% Modulus x % y Try it »
** Exponentiation x ** y Try it »
// Floor division x // y Try it »

www.teachyourselfpython.com