class Player(object): def blast(self, enemy): print "player" enemy.die()class Alien(object): def die(self): print "Alien"hero = Player()invader = Alien()hero.blast(invader)