*`This kata is a tribute/fanwork to the TV-show: Supernatural`*


Balls!

Those wayward Winchester boys are in trouble again, hunting something down in New Orleans.
You are Bobby Singer, you know how "idjits" they can be, so you have to prepare.
They will call you any minute with the race of the thing, and you want to answer as soon as possible. By answer, I mean: tell them how to kill, or fight it.

You have something like a database (more like drunken doodling) to help them:

- werewolf           : Silver knife or bullet to the heart
- vampire            : Behead it with a machete
- wendigo            : Burn it to death
- shapeshifter       : Silver knife or bullet to the heart
- angel              : Use the angelic blade
- demon              : Use Ruby's knife, or some Jesus-juice
- ghost              : Salt and iron, and don't forget to burn the corpse
- dragon             : You have to find the excalibur for that
- djinn              : Stab it with silver knife dipped in a lamb's blood 
- pagan god          : It depends on which one it is
- leviathan          : Use some Borax, then kill Dick
- ghoul              : Behead it
- jefferson starship : Behead it with a silver blade
- reaper             : If it's nasty, you should gank who controls it
- rugaru             : Burn it alive
- skinwalker         : A silver bullet will do it
- phoenix            : Use the colt
- witch              : They are humans
- else               : I have friggin no idea yet

You can access the database as `drunkenDoodling`/`drunken_doodling`/`DrunkenDoodling` depending on your language.

---

So a call would go down like this:

The guys call you:
```bob('rugaru')```

...and you reply (return) with the info, and your signature saying of yours!
```Burn it alive, idjits!```

Source: codewars | Difficulty: EASY
Tags: Fundamentals

Game theory

Starter code: def bob(what):
	

Solutions:
database = "werewolf : Silver knife or bullet to the heart\nvampire : Behead it with a machete\nwendigo : Burn it to death\nshapeshifter : Silver knife or bullet to the heart\nangel : Use the angelic blade\ndemon : Use Ruby's knife, or some Jesus-juice\nghost : Salt and iron, and don't forget to burn the corpse\ndragon : You have to find the excalibur for that\ndjinn : Stab it with silver knife dipped in a lamb's blood\npagan god : It depends on which one it is\nleviathan : Use some Borax, then kill Dick\nghoul : Behead it\njefferson starship : Behead it with a silver blade\nreaper : If it's nasty, you should gank who controls it\nrugaru : Burn it alive\nskinwalker : A silver bullet will do it\nphoenix : Use the colt\nwitch : They are humans\nelse : I have friggin no idea yet"
answers = {line.split(' : ')[0]: line.split(' : ')[1] for line in database.splitlines()}

def bob(what):
	return answers.get(what, answers['else']) + ', idjits!'


def bob(what):
	db = {}
	db['werewolf'] = 'Silver knife or bullet to the heart'
	db['vampire'] = 'Behead it with a machete'
	db['wendigo'] = 'Burn it to death'
	db['shapeshifter'] = 'Silver knife or bullet to the heart'
	db['angel'] = 'Use the angelic blade'
	db['demon'] = "Use Ruby's knife, or some Jesus-juice"
	db['ghost'] = "Salt and iron, and don't forget to burn the corpse"
	db['dragon'] = 'You have to find the excalibur for that'
	db['djinn'] = "Stab it with silver knife dipped in a lamb's blood"
	db['pagan god'] = 'It depends on which one it is'
	db['leviathan'] = 'Use some Borax, then kill Dick'
	db['ghoul'] = 'Behead it'
	db['jefferson starship'] = 'Behead it with a silver blade'
	db['reaper'] = "If it's nasty, you should gank who controls it"
	db['rugaru'] = 'Burn it alive'
	db['skinwalker'] = 'A silver bullet will do it'
	db['phoenix'] = 'Use the colt'
	db['witch'] = 'They are humans'
	if what in db:
		return db[what] + ', idjits!'
	else:
		return 'I have friggin no idea yet' + ', idjits!'