Codecademy

Sign In Create Account
01/04
+1

You can increase a number variable's (i) value by one with an incrementor , i++.

After the variable i is declared, call i++ twice to get i equal to 2. This should involve two separate lines with i++; on them. Try it out now.

Stuck? Get a hint!Hint

Here you can have two separate lines of iteration. Each should contain just i++.

Save & Submit Code Reset Code
Back to editor

Start Here

Each lesson starts here. Read the explanation, then follow the instructions underneath. If you get stuck, you can click on the "Hint" for help.

Enter your Code

Type your response to the instructions here, in your code editor.

Submit!

Ready to see if your code does what it should? Click "Save + Submit" to run and check your code!

Click "Save + Submit" to run your code! Your code’s output will pop up on the screen.

See What it Does

This is the terminal. When you submit your code, it will run your code and display the result here.

Sign in to Codecademy