ReDab Public Development Repository
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

11 lines
313 B

#!venv/bin/python3
class Ingredient(object):
def __init__(self, amount, measure, ingredient):
self.amount = amount
self.measure = measure
self.ingredient = ingredient
def __str__(self):
return (self.amount + ' ' + (self.measure + ' ' + self.ingredient).strip()).strip()