This is a beginner friendly kata especially for UFC/MMA fans. 

It's a fight between the two legends: Conor McGregor vs George Saint Pierre in Madison Square Garden. Only one fighter will remain standing, and after the fight in an interview with Joe Rogan the winner will make his legendary statement. It's your job to return the right statement depending on the winner!

If the winner is George Saint Pierre he will obviously say:
- "I am not impressed by your performance."

If the winner is Conor McGregor he will most undoubtedly say:
- "I'd like to take this chance to apologize.. To absolutely NOBODY!"

Good Luck!

Difficulty: EASY
Starter code: def quote(fighter):
	

Solutions:
statements = {'george saint pierre': 'I am not impressed by your performance.', 'conor mcgregor': "I'd like to take this chance to apologize.. To absolutely NOBODY!"}

def quote(fighter):
	return statements[fighter.lower()]


def quote(fighter):
	if fighter == 'Conor McGregor' or fighter == 'conor mcgregor':
		return "I'd like to take this chance to apologize.. To absolutely NOBODY!"
	else:
		return 'I am not impressed by your performance.'
	pass
	print(quote)


def quote(fighter):
	return 'I am not impressed by your performance.' if 'i' in fighter else "I'd like to take this chance to apologize.. To absolutely NOBODY!"


quote = lambda w: {'g': 'I am not impressed by your performance.', 'c': "I'd like to take this chance to apologize.. To absolutely NOBODY!"}[w[0].lower()]


def quote(fighter):
	if fighter == 'george saint pierre':
		return 'I am not impressed by your performance.'
	if fighter == 'George Saint Pierre':
		return 'I am not impressed by your performance.'
	if fighter == 'conor mcgregor' or fighter == 'Conor McGregor':
		return "I'd like to take this chance to apologize.. To absolutely NOBODY!"


def quote(fighter):
	return {'conor mcgregor': "I'd like to take this chance to apologize.. To absolutely NOBODY!", 'george saint pierre': 'I am not impressed by your performance.'}[fighter.casefold()]
print(quote('Conor Mcgregor'))


quote = lambda w: {'george saint pierre': 'I am not impressed by your performance.', 'conor mcgregor': "I'd like to take this chance to apologize.. To absolutely NOBODY!"}[w.lower()]


def quote(fighter):
	if fighter.lower() == 'conor mcgregor':
		return "I'd like to take this chance to apologize.. To absolutely NOBODY!"
	else:
		return 'I am not impressed by your performance.'


def quote(fighter):
	text = ['I am not impressed by your performance.', "I'd like to take this chance to apologize.. To absolutely NOBODY!"]
	return text['conor' in fighter.lower()]


def quote(fighter):
	return 'I am not impressed by your performance.' if fighter.lower() == 'george saint pierre' else "I'd like to take this chance to apologize.. To absolutely NOBODY!"


def quote(fighter):
	q1 = [73, 32, 97, 109, 32, 110, 111, 116, 32, 105, 109, 112, 114, 101, 115, 115, 101, 100, 32, 98, 121, 32, 121, 111, 117, 114, 32, 112, 101, 114, 102, 111, 114, 109, 97, 110, 99, 101, 46]
	f = [103, 101, 111, 114, 103, 101, 32, 115, 97, 105, 110, 116, 32, 112, 105, 101, 114, 114, 101]
	q2 = [73, 39, 100, 32, 108, 105, 107, 101, 32, 116, 111, 32, 116, 97, 107, 101, 32, 116, 104, 105, 115, 32, 99, 104, 97, 110, 99, 101, 32, 116, 111, 32, 97, 112, 111, 108, 111, 103, 105, 122, 101, 46, 46, 32, 84, 111, 32, 97, 98, 115, 111, 108, 117, 116, 101, 108, 121, 32, 78, 79, 66, 79, 68, 89, 33]
	to_o = lambda a: [ord(v) for v in a]
	to_s = lambda a: ''.join([chr(v) for v in a])
	return to_s(q1) if to_o(fighter.lower()) == f else to_s(q2)


def quote(fighter):
	a = len(fighter)
	if a == 19:
		return 'I am not impressed by your performance.'
	else:
		return "I'd like to take this chance to apologize.. To absolutely NOBODY!"


def quote(f):
	return 'I am not impressed by your performance.' if f.capitalize() == 'George saint pierre' else "I'd like to take this chance to apologize.. To absolutely NOBODY!"


def quote(fighter):
	f1 = 'george saint pierre'
	f2 = 'conor mcgregor'
	m1 = 'I am not impressed by your performance.'
	m2 = "I'd like to take this chance to apologize.. To absolutely NOBODY!"
	return m1 if fighter.lower() == f1 else m2


def quote(fighter):
	winner = fighter.lower()
	if winner == 'george saint pierre':
		return 'I am not impressed by your performance.'
	elif winner == 'conor mcgregor':
		return "I'd like to take this chance to apologize.. To absolutely NOBODY!"
	else:
		return 'You did not enter Saint Pierre or Conor McGregor'


def quote(fighter):
	if fighter.title() == 'George Saint Pierre':
		return 'I am not impressed by your performance.'
	else:
		return "I'd like to take this chance to apologize.. To absolutely NOBODY!"


def quote(fighter):
	if 'nt' in fighter:
		return 'I am not impressed by your performance.'
	elif 'or' in fighter:
		return "I'd like to take this chance to apologize.. To absolutely NOBODY!"


def quote(fighter):
	return 'I am not impressed by your performance.' * (len(fighter) > 15) + "I'd like to take this chance to apologize.. To absolutely NOBODY!" * (len(fighter) < 15)


def quote(fighter: str) -> str:
	george = 'George Saint Pierre'.casefold()
	conor = 'Conor McGregor'.casefold()
	fighter = fighter.casefold()
	if fighter == george:
		return 'I am not impressed by your performance.'
	elif fighter == conor:
		return "I'd like to take this chance to apologize.. To absolutely NOBODY!"
	else:
		return ''


def quote(fighter: str) -> str:
	return 'I am not impressed by your performance.' if fighter in ('george saint pierre', 'George Saint Pierre') else "I'd like to take this chance to apologize.. To absolutely NOBODY!"


def quote(fighter):
	return 'I am not impressed by your performance.' if fighter.startswith('g') or fighter.startswith('G') else "I'd like to take this chance to apologize.. To absolutely NOBODY!"


def quote(fighter):
	quotes = {'GEORGE SAINT PIERRE': 'I am not impressed by your performance.', 'CONOR MCGREGOR': "I'd like to take this chance to apologize.. To absolutely NOBODY!"}
	return quotes[fighter.upper()]


def quote(fighter):
	if fighter == 'Conor McGregor' or fighter == 'Conor McGregor'.lower():
		return "I'd like to take this chance to apologize.. To absolutely NOBODY!"
	elif fighter == 'George Saint Pierre' or fighter == 'George Saint Pierre'.lower():
		return 'I am not impressed by your performance.'


def quote(f):
	dir = {'g': 'I am not impressed by your performance.', 'c': "I'd like to take this chance to apologize.. To absolutely NOBODY!"}
	return dir[f[0].lower()]


def quote(fighter):
	f1 = str(fighter.lower())
	if f1 == 'george saint pierre':
		return 'I am not impressed by your performance.'
	elif f1 == 'conor mcgregor':
		return "I'd like to take this chance to apologize.. To absolutely NOBODY!"
	else:
		return 'XUY'


def quote(fighter):
	if fighter[0] == 'c' or fighter[0] == 'C':
		return "I'd like to take this chance to apologize.. To absolutely NOBODY!"
	if fighter[0] == 'g' or fighter[0] == 'G':
		return 'I am not impressed by your performance.'


def quote(fighter):
	cm = "I'd like to take this chance to apologize.. To absolutely NOBODY!"
	gsp = 'I am not impressed by your performance.'
	if fighter.lower() == 'george saint pierre':
		return gsp
	elif fighter.lower() == 'conor mcgregor':
		return cm
	else:
		pass


def quote(fighter):
	a = 'I am not impressed by your performance.'
	b = "I'd like to take this chance to apologize.. To absolutely NOBODY!"
	c = 'Conor McGregor'.lower()
	return f'{b}' if fighter.lower() == c else f'{a}'


def quote(fighter):
	s = ['I am not impressed by your performance.', "I'd like to take this chance to apologize.. To absolutely NOBODY!"]
	return s[0] if fighter[0].lower() == 'g' else s[1]


from typing import Union

def quote(fighter: str) -> Union[str, None]:
	fighter = fighter.casefold()
	if fighter == 'george saint pierre':
		return 'I am not impressed by your performance.'
	elif fighter == 'conor mcgregor':
		return "I'd like to take this chance to apologize.. To absolutely NOBODY!"
	return None


import re

def quote(fighter):
	if re.match('George Saint Pierre', fighter, re.IGNORECASE):
		return 'I am not impressed by your performance.'
	if re.match('Conor McGregor', fighter, re.IGNORECASE):
		return "I'd like to take this chance to apologize.. To absolutely NOBODY!"
	pass


quote = lambda f: 'I am not impressed by your performance.' if f.lower() == 'george saint pierre' else "I'd like to take this chance to apologize.. To absolutely NOBODY!" if f.lower() == 'conor mcgregor' else 'ERROR'


def quote(fighter):
	q1 = 'I am not impressed by your performance.'
	q2 = "I'd like to take this chance to apologize.. To absolutely NOBODY!"
	f1a = 'george saint pierre'
	f1b = 'George Saint Pierre'
	f2a = 'conor mcgregor'
	f2b = 'Conor McGregor'
	if fighter == f1a:
		return q1
	elif fighter == f1b:
		return q1
	elif fighter == f2a:
		return q2
	elif fighter == f2b:
		return q2


def quote(fighter):
	n = ['Conor McGregor'.lower(), 'George Saint Pierre'.lower()]
	if fighter.lower() == n[0].lower():
		return "I'd like to take this chance to apologize.. To absolutely NOBODY!"
	else:
		return 'I am not impressed by your performance.'
x = quote('Conor McGregor')
print(x)


def quote(fighter):
	m = fighter.upper()
	if m == 'GEORGE SAINT PIERRE':
		return 'I am not impressed by your performance.'
	else:
		return "I'd like to take this chance to apologize.. To absolutely NOBODY!"