TASK 2

Integers

Now that you have met strings, it is time to meet numbers

Integers are whole numbers, such as 5, 22, -10 and 152425.

Like the name str that we have for strings, we call Integers int to make the name shorter to type.


Again, your task is to delete any lines which print something which is not an integer.

Well done!

When you are ready, continue on to the next task.

Something isn't quite right...

Close this message and have another go!

GUIDE

This guide is intended to help with syntax. See the prelude section for pre-defined functions and variables. See the tutorials page for tutorials on how to write code.



Can't find what you're looking for?

Check the tutorials page for more!

PRELUDE

The prelude is all the pre-defined functions and variables available to use. See the tutorials page for tutorials on how to write code.



Can't find what you're looking for?

Check the tutorials page for more!