KS3 Puzzle 3 Python – simple selection

Code / algorithm aim

The code should greet the user and ask them to enter their name. It should then allow the user to enter their name. The code should check the users name and if they enter Gary should welcome them, but if they do not enter Gary it should tell them that they are not welcome.

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:

Login    

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.