Python Coding errors

Finding programming errors can sometimes be difficult for teachers and students alike, but the cause of errors can be interesting talking points in a lesson and help to strengthen and enforce correct programming constructs.

First debuted on our social media accounts, below are links to Python code which contain errors.

Can you spot the errors and fix the code?


28. How long till Halloween calculator.

Click on the image to have a go.

Can you spot all the coding errors?


27. Simple print statements

Click on the image to have a go.

Can you spot all the coding errors?


26. A better calculator.

Click on the image to have a go.

Can you spot all the coding errors?


25. A school bag packing list.

Click on the image to have a go.

Can you spot all the coding errors?


24. A shopping list text file maker.

Click on the image to have a go.

Can you spot all the coding errors?


23. A shopping list maker.

Click on the image to have a go.

Can you spot all the coding errors?


22. A weight converter to calculate between kg and lbs and lbs and kg.

Click on the image to have a go.

Can you spot all the coding errors?


21. A swimming calculator. Click on the image to have a go.

Can you spot all the coding errors?


20. – A summer holiday activity picker. Click on the image to have a go.

Can you spot all the coding errors?


19. – A Heatwave alert decision maker. Click on the image to have a go.

Can you spot all the coding errors?


18. – A rectangle calculator. Click on the image to have a go. Can you spot all the coding errors?


17. – A circle calculator. Click on the image to have a go. Can you spot all the coding errors?


16. – A dice rolling sub routine. Click on the image to have a go. Can you spot all the coding errors?


15. – A very simple Python calculator. Click on the image to have a go. Can you spot all the coding errors?


14. – Fahrenheit to Celsius and Celsius to Farenheit converter. Click on the image to have a go. Can you spot all the coding errors?


13. – Random number guessing game. Click on the image to have a go. Can you spot all the coding errors?


12. – Vending machine spot the error. Click on the image to have a go. Can you spot all the coding errors?


11. – New year resolution themed spot the error. Click on the image to have a go. Can you spot all the coding errors?


10. – Christmas themed spot the error. Click on the image to have a go. Can you spot all the coding errors?


9. – Christmas themed spot the error. Click on the image to have a go. Can you spot all the coding errors?


8. – Can you spot the Python errors? Click on the image to have a go. Can you spot all the coding errors?


7. – Can you spot the Python errors? Click on the image to have a go. Can you spot all the coding errors?


6. – Can you spot the Python errors? Click on the image to have a go. Can you spot all the coding errors?


5. – Black Friday themed spot the error. Click on the image to have a go. Can you spot all the coding errors?


4. – Bonfire themed spot the error. Click on the image to have a go. Can you spot all the coding errors?


3. – Halloween themed spot the error. Click on the image to have a go. Can you spot all the coding errors?


2. – Halloween themed spot the error. Click on the image to have a go. Can you spot all the coding errors?


1. – Halloween themed spot the error. Click on the image to have a go. Can you spot all the coding errors?