Page 138 -
P. 138

functions



                     Test Drive





            Add the new password code to the top of the program and then
            run it through IDLE:
























                                                                                       Yikes!


                  Oh no! It crashes! What happened?!? Our order
                  system has stopped working worldwide! If we don‛t
                  get information on where we need coffee orders soon,
                  this could be the end of Starbuzz... Help!



           The program has crashed and it can no longer send out
           messages to the CEO. Stores across the globe are running
           short on beans and it’s up to you to fix the code.







                         Look at the error message that was generated when the program crashed.
                         What do you think happened?






                                                                                       you are here 4    103
   133   134   135   136   137   138   139   140   141   142   143