## Debugging sayHello function

The starship Enterprise has run into some problem when creating a program to greet everyone as they come aboard. It is your job to fix the code and get the program working again!

Example output: 
```
Hello, Mr. Spock
```

Source: codewars | Difficulty: EASY
Tags: Fundamentals

Starter code: def say_hello(name):
	

Solutions:
def say_hello(name):
	return f'Hello, {name}'


def say_hello(name):
	return 'Hello, ' + name


def say_hello(name):
	return 'Hello, {0}'.format(name)


say_hello = 'Hello, '.__add__


def say_hello(name):
	return 'Hello, %s' % name


def say_hello(input):
	return 'Hello, ' + input


say_hello = lambda n: 'Hello, {}'.format(n)


def say_hello(n):
	return 'Hello, ' + n


def say_hello(name):
	if name:
		return 'Hello, ' + name


def say_hello(name):
	return 'Hello, ' + name
	pass


def say_hello(name):
	if name == '':
		return 'Hello, World'
	else:
		return 'Hello, {}'.format(name)


def say_hello(name):
	return 'Hello, ' + name
say_hello('Mr. Spock')
say_hello('Captain Kirk')
say_hello('Liutenant Uhura')
say_hello('Dr. McCoy')
say_hello('Mr. Scott')


def say_hello(name):
	if False:
		print('reeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee https://www.youtube.com/watch?v=ub82Xb1C8os')
	return 'Hello, ' + name


say_hello = lambda name: 'Hello, %s' % name


say_hello = lambda n: 'Hello, %s' % n


say_hello = lambda k: f'Hello, {k}'


import unittest

def say_hello(name):
	return 'Hello, {}'.format(name)

class TestSayHello(unittest.TestCase):

	def test_say_hello(self):
		self.assertEqual(say_hello('Mr. Spock'), 'Hello, Mr. Spock')


def say_hello(name):
	return f'Hello, {name}'
print(say_hello('Mr.Spock'))


def say_hello(name):
	a = 'Hello, '
	b = name
	return a + b


def say_hello(name):
	greet = 'Hello, ' + name
	print(greet)
	return greet


def say_hello(name):
	hello = 'Hello' + ', ' + name
	return hello


def say_hello(name):
	return 'Hello, ' + name
say_hello('dff')


def say_hello(name: str) -> str:
	result: str = 'Hello, ' + name
	return result


def say_hello(name):
	return 'Hello' + ', ' + name
say_hello('Mr.Spock')


def say_hello(name):
	out = 'Hello, ' + name
	return out


def say_hello(name):
	return 'Hello, {nam}'.format(nam=name)


def say_hello(name='World'):
	name = str(name)
	greet = 'Hello, ' + name
	return greet


def say_hello(name):
	name = ('Hello,', name)
	name = ' '.join(name)
	return name


def say_hello(n=''):
	return f'Hello, {n}'


def say_hello(name):
	p = 'Hello, {}'.format(name)
	return p


def say_hello(name: any) -> str:
	return 'Hello, ' + str(name)


def say_hello(name):
	answer = 'Hello, ' + name
	return answer


def say_hello(name):
	sen = 'Hello, ' + name
	return sen


def say_hello(name):
	return f'Hello, {name}'
print(say_hello('nini'))


def say_hello(name):
	s = 'Hello, {}'.format(name)
	return s
print(say_hello('Mr. Spock'))


def say_hello(name):
	return 'Hello, {n}'.format(n=name)


def say_hello(name):
	string = 'Hello' + ', ' + name
	return string


def say_hello(name):
	say = 'Hello, ' + name
	return say


def say_hello(name):
	ans = 'Hello, ' + name
	return ans


def say_hello(name):
	salu = name
	return 'Hello, {}'.format(salu)


def say_hello(name):
	return 'Hello, ' + name
say_hello('Marissa')


def say_hello(name):
	return ' ,olleH'[::-1] + name


def say_hello(name):
	sh = 'Hello, ' + name
	return sh


def say_hello(name):
	hi = 'Hello' + ',' + ' ' + name
	return hi


def say_hello(name):
	hello_name = 'Hello, ' + name
	return hello_name


def say_hello(name):
	return f'Hello, {name}'
say_hello('Mr. Robot')


def say_hello(name):
	print(name)
	arr = [72, 101, 108, 108, 111, 44]
	return ''.join([chr(i) for i in arr]) + ' ' + name


def say_hello(name):
	asd = ('Hello,', name)
	asf = ' '.join(asd)
	return asf


def say_hello(name):
	x = 'Hello, ' + name
	return x


def say_hello(name):
	return 'Hello, ' + name
list = ['Mr. Steve', 'Captain Kata', 'Eren Yeager', 'Dr. McCoi', 'Mrs. Scott']
say_hello(list[0])
say_hello(list[1])
say_hello(list[2])
say_hello(list[3])
say_hello(list[4])


def say_hello(name):
	greeting = 'Hello' + ', ' + name
	return greeting


def say_hello(name):
	var = 'Hello, {}'.format(name)
	return var


def say_hello(name):
	output = 'Hello, ' + name
	return output


def say_hello(name):
	return 'Hello, ' + name
say_hello('MacMillan')