From 14a83cb0773f19f730b8550459c1adc0cb74052f Mon Sep 17 00:00:00 2001 From: SammieO52 <65922723+SammieO52@users.noreply.github.com> Date: Wed, 10 Jun 2020 22:12:30 -0400 Subject: [PATCH] Create oeis_coffeemachine.py --- oeis_coffeemachine.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 oeis_coffeemachine.py diff --git a/oeis_coffeemachine.py b/oeis_coffeemachine.py new file mode 100644 index 0000000..b6420b0 --- /dev/null +++ b/oeis_coffeemachine.py @@ -0,0 +1,22 @@ +# Write your code here +print("""Starting to make a coffee +Grinding coffee beans +Boiling water +Mixing boiled water with crushed coffee beans +Pouring coffee into the cup +Pouring some milk into the cup +Coffee is ready!""") + +print("Write how many cups of coffee you will need:") +coffee_cups = int(input()) + +# amounts for the needed coffee_cups + +water = int(coffee_cups * 200) +milk = int(coffee_cups * 50) +coffee_beans = int(coffee_cups * 15) + +print(f"""For {coffee_cups} cups of coffee you will need: +{water} ml of water +{milk} ml of milk +{coffee_beans} g of coffee beans""")