KS4 Puzzle 5 Python – add items to a list at a chosen point

Code / algorithm aim

The program should declare a list of fruit then display everything in the list on the screen.

The user will then be asked if they want to add anything to the list and if they do they will be able to input what they want to add and decide where in the list they want to add it. When the item is added the list will be displayed again.

If the user does not want to add anything to the list the program will exit and say thank you to them.

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.