Lesson 05: Numbers and Arithmetic

Python does arithmetic with + , * and ** (to the power of). Change the one number and run again.

Loading Python… this can take a few seconds the first time. Please wait — the Run button will become available when Python is ready.

Try this: Change the number to 5 and press Run again — you should see 8, 10 and 25.

The code that runs



Output

Press Run to see the output here.