This is a Python program that simulates a coffee machine. It allows you to choose from three types of coffee: espresso, latte, and cappuccino. You can check the availability of resources (water, milk, coffee beans, and cups) and buy a coffee by inserting the required amount of coins.
- Python 3.x
-
Clone the repository or download the
coffee-machine-py-game.py
file. -
Open a terminal or command prompt and navigate to the directory where the file is located.
-
Run the following command to start the program:
python coffee-machine-py-game.py
-
Follow the prompts to choose your desired coffee and enter the number of coins for payment.
-
Enjoy your coffee!