Learning IntentionsDemonstrate and explain the practice of storing integers into variables and commenting on code |
Success Criteria—Create a simple maths test with comments—Assign integer values to variables and use them in a calculation. |

**Complete the wordsearch on the starter activity**

**Open the Python shell and type in the code below**

>>> pizza = 250

>>> chips = 150

>>> coke = 50

In this code you have stored the integer values 250, 150 and 50 into the corresponding variables pizza, chips and coke. Now you are going to Evaluate some expressions using these stored integers.

Write an expression that will add the value of pizza and chips together and output the result.

Next write the expression that will give the output for the cost of 2 pizzas.

Work in your groups to complete this worksheet on integers into variables.

>>> pizza = 250

>>> chips = 150

>>> coke = 50

In this code you have stored the integer values 250, 150 and 50 into the corresponding variables pizza, chips and coke. Now you are going to Evaluate some expressions using these stored integers.

Write an expression that will add the value of pizza and chips together and output the result.

Next write the expression that will give the output for the cost of 2 pizzas.

Work in your groups to complete this worksheet on integers into variables.

Recap of previous lessons and adding comments |

**Even more, see if you can work out this challenge**

**Review - how did you do :)**