BUG HUNT                                                                    
                                                                                  
      Pip's    program         has    a  bug!                                     
                                                                                  
                                                                                  
                                                                                  
      Run the buggy version. Read the error message or strange output. Circle     
                                                                                  
      the smallest part you think should change.                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
        energy = 3                                                                
        while energy > 0:                                                         
            print("Zoom!")                                                        
                                                                                  
                                                                                  
      YOUR FIX                                                                    
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
        CHECK AFTER YOU TRY                                                       
                                                                                  
        energy = 3                                                                
        while energy > 0:                                                         
            print("Zoom!")                                                        
            energy = energy - 1                                                   
                                                                                  
        Debugging pattern: observe -> guess -> change one thing -> run again.     
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
      Loops: Do It Again                                                  53
