# Activity for Python Lesson #2

Hello everyone! This week we covered operators and if statements in Python. Here’s a simple activity to see if you actually learned anything!

Create three variables: `num_1`

, `num_2`

, and `num_3`

and give them a number value (an integer or a float).

Find the **average** (mean value) of the numbers in the three variables and print that.

Then, check to see whether the average is **postive, negative, or zero**, and accordingly print one of the following strings: “The average is positive”, “The average is negative”, or “The average is zero”.

That’s all!

## Trials

Try testing your code with your initial variables as the following values.

This should print “3.5” and “The average is positive”:

```
= -5
num_1 = 8
num_2 = 7.5
num_3 # YOUR CODE HERE
```

This should print “0.0” and “The average is zero”:

```
= 7
num_1 = -4.0
num_2 = -3
num_3 # YOUR CODE HERE
```

This should print “-1.0” and “The average is negative”:

```
= -7
num_1 = 1
num_2 = 3
num_3 # YOUR CODE HERE
```

The answers will be posted next Monday. If you have any questions, please contact us, either via email or Discord.

Good luck!