Created a coffee machine and added pylint linter!
This commit is contained in:
parent
e601cd3562
commit
2cb3f14710
3 changed files with 81 additions and 0 deletions
31
Day 15/data.py
Normal file
31
Day 15/data.py
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
menu = {
|
||||
"espresso": {
|
||||
"ingredients": {
|
||||
"water": 50,
|
||||
"coffee": 18,
|
||||
},
|
||||
"cost": 1.5,
|
||||
},
|
||||
"latte": {
|
||||
"ingredients": {
|
||||
"water": 200,
|
||||
"milk": 150,
|
||||
"coffee": 24,
|
||||
},
|
||||
"cost": 2.5,
|
||||
},
|
||||
"cappuccino": {
|
||||
"ingredients": {
|
||||
"water": 250,
|
||||
"milk": 100,
|
||||
"coffee": 24,
|
||||
},
|
||||
"cost": 3.0,
|
||||
}
|
||||
}
|
||||
|
||||
resources = {
|
||||
"water": 300,
|
||||
"milk": 200,
|
||||
"coffee": 100,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue