We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 602888a commit c773edaCopy full SHA for c773eda
adapter.py
@@ -7,25 +7,31 @@
7
class Dog(object):
8
def __init__(self):
9
self.name = "Dog"
10
+
11
def bark(self):
12
return "woof!"
13
14
15
class Cat(object):
16
17
self.name = "Cat"
18
19
def meow(self):
20
return "meow!"
21
22
23
class Human(object):
24
25
self.name = "Human"
26
27
def speak(self):
28
return "'hello'"
29
30
31
class Car(object):
32
33
self.name = "Car"
34
35
def make_noise(self, octane_level):
36
return "vroom{0}".format("!" * octane_level)
37
0 commit comments