Teach snoopy and scooby doo how to bark using object methods. 
Currently only snoopy can bark and not scooby doo. 

```python
snoopy.bark() #return "Woof"
scoobydoo.bark() #undefined
```
Use method prototypes to enable all Dogs to bark.

Source: codewars | Difficulty: EASY
Tags: Fundamentals

Starter code: def __init__(self, breed):
	

Solutions:
class Dog:

	def __init__(self, breed):
		self.breed = breed

	def bark(self):
		return 'Woof'
snoopy = Dog('Beagle')
scoobydoo = Dog('Great Dane')


class Dog:

	def __init__(self, breed):
		self.breed = breed

	def bark(self):
		return 'Woof'
snoopy = Dog('nn')
scoobydoo = Dog('nn')


class Dog:

	def __init__(self, breed):
		self.breed = breed
snoopy = Dog('Beagle')
Dog.bark = lambda *args: 'Woof'
scoobydoo = Dog('Great Dane')


class Dog:

	def __init__(self, breed):
		self.breed = breed

	def bark(self):
		if self.breed in ['Beagle', 'Great Dane']:
			return 'Woof'
snoopy = Dog('Beagle')
snoopy.bark = lambda : 'Woof'
scoobydoo = Dog('Great Dane')


class Dog:

	def __init__(self, breed):
		self.breed = breed

	def bark(self):
		return 'Woof'
snoopy = Dog('Test')
scoobydoo = Dog('Test')


class Dog:

	def __init__(self, breed):
		self.breed = breed
snoopy = Dog('Beagle')
scoobydoo = Dog('rogling')
snoopy.bark = lambda : 'Woof'
scoobydoo.bark = lambda : 'Woof'


class Dog:

	def __init__(self, breed):
		self.breed = breed

	def bark(self):
		return 'Woof'
snoopy = Dog('Beagle')
scoobydoo = Dog('yourmom')


class Dog:

	def __init__(self, breed):
		self.breed = breed

	def bark(self):
		return 'Woof'
snoopy = Dog('Code')
scoobydoo = Dog('Wars')


class Dog:
	bark = None

	def __init__(self, breed):
		self.breed = breed

	@property
	def bark(self):
		return Dog.bark

	@bark.setter
	def bark(self, func):
		Dog.bark = func
snoopy = Dog('Beagle')
snoopy.bark = lambda x: 'Woof'
scoobydoo = Dog('Great Dane')


class Dog:

	def __init__(self, breed):
		self.breed = breed

	def bark(self):
		return 'Woof'

class Snoopy(Dog):

	def __init__(self, breed):
		Dog.__init__(self, breed)

	def bark(self):
		return self.bark

class Scooby(Dog):

	def __init__(self, breed):
		Dog.__init__(self, breed)

	def bark(self):
		pass
snoopy = Dog('Beagle')
snoopy.bark = lambda : 'Woof'
scoobydoo = Dog('Great Dane')


class Dog:

	def __init__(self, breed):
		self.breed = breed
snoopy = Dog('Woof')
snoopy.bark = lambda : 'Woof'
scoobydoo = Dog('Woof')
scoobydoo.bark = lambda : 'Woof'


class Dog:

	def __init__(self, breed):
		self.breed = breed
snoopy = Dog('Beagle')
snoopy.bark = lambda : 'Woof'
scoobydoo = Dog('Great Dane')
scoobydoo.bark = lambda : 'Woof'
scoobydoo.platz = lambda : 'Platz'


class BigDog:

	def __init__(self, breed):
		self.breed = breed

class Dog(BigDog):

	@staticmethod
	def bark():
		return 'Woof'
snoopy = Dog('Beagle')
snoopy.bark = lambda : 'Woof'
scoobydoo = Dog('Great Dane')


class Dog:

	def __init__(self, breed):
		self.breed = breed

	def bark(self):
		s = ''
		for i in self.breed:
			s = 'Woof'
		return s
snoopy = Dog('Beagle')
snoopy.bark = lambda : 'Woof'
scoobydoo = Dog('Great Dane')


class Dog:

	def __init__(self, breed):
		self.breed = breed

	def bark(self):
		if self.breed == 'Beagle' or self.breed == 'Great Dane':
			return 'Woof'
		else:
			return 'undefined'
snoopy = Dog('Beagle')
scoobydoo = Dog('Great Dane')


class Dog:
	_bark = 'Woof'

	def __init__(self, breed):
		self.breed = breed

	def bark(cls):
		return cls._bark
snoopy = Dog('Beagle')
snoopy.bark = lambda : 'Woof'
scoobydoo = Dog('Great Dane')


class Dog:

	def __init__(self, breed):
		self.breed = breed
		self.bark = lambda : 'Woof'
snoopy = Dog('Husky')
scoobydoo = Dog('Great Dane')


class Dog:

	def __init__(self, breed):
		self.breed = breed

	def bark(sound):
		print(sound)
snoopy = Dog('Beagle')
snoopy.bark = lambda : 'Woof'
scoobydoo = Dog('Great Dane')
scoobydoo.bark = lambda : 'Woof'


class Dog:

	def __init__(self, name):
		pass

	def bark(self):
		return 'Woof'
snoopy = Dog('Beagle')
scoobydoo = Dog('Great Dane')