aboutsummaryrefslogtreecommitdiff
path: root/common.py
diff options
context:
space:
mode:
Diffstat (limited to 'common.py')
-rw-r--r--common.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/common.py b/common.py
new file mode 100644
index 0000000..3ebea36
--- /dev/null
+++ b/common.py
@@ -0,0 +1,8 @@
+# Common classes and methods.
+
+class Food :
+ def __init__(self,name, price="", category=None, veggie=False) :
+ self.name = name
+ self.price = price
+ self.category = category
+ self.veggie = veggie