Skip to content

chavan-dinesh/coffee_machine_program

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

coffee_machine_program

Python code for Coffee Machine

What would you like? (espresso/latte/cappuccino): espresso
Please insert coins.
How many nickels?: 10
How many quarters?: 10
How many dimes?: 10
How many pennies?: 10
Here is your $2.6 in change.
Here is your espresso ☕ Enjoy!

To check water , Milk and Coffee levels and see how much money you made in coffee machine , run Report:

What would you like? (espresso/latte/cappuccino): report
Water : 250ml
Milk : 200ml
Coffee : 82g
Money : $1.5
What would you like? (espresso/latte/cappuccino): 

To turn OFF coffee machine, run off :

What would you like? (espresso/latte/cappuccino): off
Turning off coffee machine!

About

Python code for Coffee Machine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages