summaryrefslogtreecommitdiffstats
path: root/ExampleSubmission/animals.py
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2022-01-20 18:51:27 +0000
committerjwansek <eddie.atten.ea29@gmail.com>2022-01-20 18:51:27 +0000
commit7e055c6eaf4291539c77932b29b8db0cc42c5d8c (patch)
treee59febf7e5ae32578e9455ff86942057013f4270 /ExampleSubmission/animals.py
parente39f4203ca1c08827bfe9b9a35c2034d71703624 (diff)
downloadSmarker-7e055c6eaf4291539c77932b29b8db0cc42c5d8c.tar.gz
Smarker-7e055c6eaf4291539c77932b29b8db0cc42c5d8c.zip
started work on templating
Diffstat (limited to 'ExampleSubmission/animals.py')
-rw-r--r--ExampleSubmission/animals.py44
1 files changed, 22 insertions, 22 deletions
diff --git a/ExampleSubmission/animals.py b/ExampleSubmission/animals.py
index 10c1cb4..a8c76d8 100644
--- a/ExampleSubmission/animals.py
+++ b/ExampleSubmission/animals.py
@@ -1,22 +1,22 @@
-import datetime
-
-class Animal:
- def __init__(self):
- self.birthday = datetime.datetime.now()
-
- def move(self):
- return "*moves*"
-
-class Dog(Animal):
- def speak(self):
- return "woof"
-
-class Cat(Animal):
- def speak(self):
- return "meow"
-
-class Kitten(Cat):
- """nyaa~~~
- """
- def speak(self):
- return "meow (but cuter)"
+import datetime
+
+class Animal:
+ def __init__(self):
+ self.birthday = datetime.datetime.now()
+
+ def move(self):
+ return "*moves*"
+
+class Dog(Animal):
+ def speak(self):
+ return "woof"
+
+class Cat(Animal):
+ def speak(self):
+ return "meow"
+
+class Kitten(Cat):
+ """nyaa~~~
+ """
+ def speak(self):
+ return "meow (but cuter)"