Debug

Things to do yourself first if your program doesn't work
  DON'T PANIC 
Bugs are a normal part of programming.
Spotting your bugs and fixing them is all part of learning how to control a computer. Let's go bug hunting!
  ASK A FRIEND 
Ask someone near to you to work through these steps with you.
Most programming is done in groups.
  LINE DANCE 
Python often tells you which line it is having problems with.
If it does, look very closely at that line or the line just before it.
  SPELLING BUGS
Are your key command words spelt correctly? prnt imput for randum
Have you changed the variable spelling, by accident creating a new variable
fred1=3   
fred1=freed1 + 1
  TOO FEW BRACKETS 
Have you closed every open bracket?
print("Hi my name is"
  TOO MANY BRACKETS 
print("Hi my name is"))
  FORGETTING A SPEECHMARK  
Have you opened and closed your speechmarks
print("Hi my name is )
   STRAIGHTEN INDENTS  
Not indented correctly
for i in range(5):
    t.fd(10)
        t.rt(72)
  CAPITAL CAPER 
Have you used a capital letter when it shouldn't have one
Print Input
 

If you are still stuck after trying to make your code work ask Mr Bagge

Comments