# generics/DogsAndRobots.py
# <20>2015 MindView LLC: see Copyright.txt
class Dog:
def speak(self):
print("Arf!")
def sit(self):
print("Sitting")
def reproduce(self):
pass
class Robot:
print("Click!")
print("Clank!")
def oilChange(self):
def perform(anything):
anything.speak()
anything.sit()
a = Dog()
b = Robot()
perform(a)
perform(b)
#>