Skip to content

cjmcdonald42/barista

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

   package: 03_barista.py
    author: Charles J McDonald «https://github.com/cjmcdonald42»

date written: 2026 January 12

barista

Students will code a customer service automaton; this example is a robot barista running a café.

Code features

  • Introduce the shop and welcome the customer.
  • Offer a menu of at least 5 products and / or services.
  • Allow the customer to choose multiple products or services in a single order.
  • (Bonus) Offer a customization option unique to at least one product or service.
  • Calculate the total bill & collect money from the customer.
  • (Bonus) Customer may tip their server.
  • Print a receipt, give change, thank the customer.

Student code should include:

  • A loop for the ordering cycle that resets for the next customer.
  • A check to verify the order is valid

About

Code an automaton for customer service

Resources

Security policy

Stars

Watchers

Forks

Contributors

Languages

Generated from cjmcdonald42/pyTemplete