Skip to content

Kapill21/python_coffee_machine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Coffee Machine Simulator (Python CLI)

A command-line coffee machine simulator built in Python. Users can order drinks (espresso/latte/cappuccino), insert coins, receive change, and the machine tracks ingredient resources and total money earned.

Features

  • Drink menu stored in a Python dictionary (ingredients + cost)
  • Coin-based payment system (quarters, dimes, nickels, pennies)
  • Change calculation with formatted output
  • Resource tracking (water/milk/coffee) that decreases per purchase
  • report command to display remaining resources and profit
  • off command to shut down the machine

About

Python command-line coffee machine simulator with menu pricing, coin-based payments, change calculation, and resource inventory reporting.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages