The characters of Chima need your help. Their weapons got mixed up! They need you to write a program that accepts the name of a character in Chima then tells which weapon he/she owns.

For example: for the character `"Laval"` your program should return the solution `"Laval-Shado Valious"`

You must complete the following character-weapon pairs:

* Laval-Shado Valious, 
* Cragger-Vengdualize, 
* Lagravis-Blazeprowlor, 
* Crominus-Grandorius, 
* Tormak-Tygafyre, 
* LiElla-Roarburn. 
    
Return `"Not a character"` for invalid inputs.

Difficulty: EASY
Starter code: def identify_weapon(character):
	

Solutions:
def identify_weapon(character):
	tbl = {'Laval': 'Laval-Shado Valious', 'Cragger': 'Cragger-Vengdualize', 'Lagravis': 'Lagravis-Blazeprowlor', 'Crominus': 'Crominus-Grandorius', 'Tormak': 'Tormak-Tygafyre', 'LiElla': 'LiElla-Roarburn'}
	return tbl.get(character, 'Not a character')


def identify_weapon(character):
	try:
		return character + '-' + {'Laval': 'Shado Valious', 'Cragger': 'Vengdualize', 'Lagravis': 'Blazeprowlor', 'Crominus': 'Grandorius', 'Tormak': 'Tygafyre', 'LiElla': 'Roarburn'}[character]
	except:
		return 'Not a character'


def identify_weapon(character):
	weapons = {'Laval': 'Shado Valious', 'Cragger': 'Vengdualize', 'Lagravis': 'Blazeprowlor', 'Crominus': 'Grandorius', 'Tormak': 'Tygafyre', 'LiElla': 'Roarburn'}
	return '%s-%s' % (character, weapons[character]) if character in weapons else 'Not a character'


def identify_weapon(character):
	dict = {'Laval': 'Shado Valious', 'Cragger': 'Vengdualize', 'Lagravis': 'Blazeprowlor', 'Cragger': 'Vengdualize', 'Lagravis': 'Blazeprowlor', 'Crominus': 'Grandorius', 'Tormak': 'Tygafyre', 'LiElla': 'Roarburn'}
	if character not in dict.keys():
		return 'Not a character'
	return character + '-' + dict[character]


weapons = ['Laval-Shado Valious', 'Cragger-Vengdualize', 'Lagravis-Blazeprowlor', 'Crominus-Grandorius', 'Tormak-Tygafyre', 'LiElla-Roarburn']

def identify_weapon(character):
	return next((weapon for weapon in weapons if weapon.startswith(character)), 'Not a character')


def identify_weapon(character):
	d = {'Laval': 'Shado Valious', 'Cragger': 'Vengdualize', 'Lagravis': 'Blazeprowlor', 'Crominus': 'Grandorius', 'Tormak': 'Tygafyre', 'LiElla': 'Roarburn'}
	return f'{character}-{d[character]}' if character in d else 'Not a character'