Page 235 -
P. 235

price break


          The health club has a new requirement


           The health club boss has a grand plan to get more customers into the
           health club.





                                                  Ooh, I think we need to discount the
                                                  prices in the coffee bar for the next month.
                                                  There‛s nothing like relaxing with a latte after
                                                  a tough workout, especially if the price is right.
                                                  Our customers like to treat themselves, so I
                                                  want to make this easy for them.







                                                          The boss has a great new idea.
                                                          The boss wants to cut 10% off all the prices in the
                                                          coffee bar. If it’s successful, he may want to do the
                                                          same thing in other places, such as the gym.
                                                          Instead of just amending the code in the
                                                          coffee_pos.py file, you need to create a new
                                                          module called promotion.py that will calculate
                                                          a discounted price.




























           200    Chapter 6
   230   231   232   233   234   235   236   237   238   239   240