KS3 Puzzle 8 Challenge 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 and indent where necessary (by dragging the code block to the right) so that the code follows the algorithm aim above.