Things to do if your program does not work.
Bugs, errors and unfinished code are a normal part of programming. Spotting bugs and fixing them is all part of learning how to control a computer.
Ask your partner to help you as two people examining and reading code together have a greater chance of finding bugs.
Python often tells you where the error is. Looking around that area can be very helpful.
Have you spelt a key word incorrectly? prnt instead of print, randum instead or random etc. Have you used different spellings of a variable such as username, user_name, usename.
Have you closed every open bracket? print("Hello World"
Have you got too many brackets? print("My name is Tom"))
Have you closed every closed all open speech marks? print("My mum loves jam )
Indents in the same loop or condition must start all lined up on the left-hand side.
t.fd(20)
t.bk(30)
Have you used a capital accidentally? Print Input Def etc
Have you asked the computer to do something impossible such as finding something in a list that is not there. Calling a missing function etc
Code runs but does not do what it should. < used instead of >, + rather than -, * rather than /, order of code is wrong.
I can comment out part of the code to concentrate on a key part that is not working. Comments start with #
If you are still stuck after trying to make your code work ask Mr Bagge for a hint.