KS3 Puzzle 4 Challenge Python – a better calculator

Code / algorithm aim

The finished program should allow the user to enter 2 numbers. The user will then be able to decide if they want to add, subtract, multiply or divide the 2 numbers and the program will output the correct 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.