KS3 Puzzle 8 python – for loop in range

Code / algorithm aim

The code should loop through numbers 1 to 12 and ask the user to answer a question based on the 2 times table.

The user should be asked the 2 times tables in order 1 x 2, 2 x 2 etc and be able to answer the question right after being asked the question.

If the user is correct they will be given a prompt that tells them they are correct.

If the user is wrong they will be given a prompt that says they are incorrect and that tells them the right answer.

WAIT! You aren’t logged in.
By logging in you can earn CS points and keep track of what you have done. Do you want to:


Join Now

Instructions (click to view)

All the code that you need has been given below. Simply organise the code blocks into the correct order so that the code follows the algorithm aim above.

You can organise the blocks by clicking on the arrows on the right hand side to place them above or below the other blocks.