#!/usr/bin/python

class Parrot(object):
	"""docstring for Parrot"""
	def fly(self):
		print "Parrot can fly"

	def swim(self):
		print "Parrot can't swim"

class Penguin(object):
	"""docstring for Penguin"""
	def fly(self):
		print "Penguin can't fly"

	def swim(self):
		print "Penguin can swim"


def flying_test(bird):
	bird.fly()

blu = Parrot()
peggy = Penguin()


flying_test(blu)
flying_test(peggy)		