Create a function which answers the question "Are you playing banjo?".  
If your name starts with the letter "R" or lower case "r", you are playing banjo!

The function takes a name as its only argument, and returns one of the following strings:
```
name + " plays banjo" 
name + " does not play banjo"
```
Names given are always valid strings.

Difficulty: EASY
Starter code: def areYouPlayingBanjo(name):
	

Solutions:
def areYouPlayingBanjo(name):
	return name + (' plays' if name[0].lower() == 'r' else ' does not play') + ' banjo'


def areYouPlayingBanjo(name):
	if name.startswith('R') or name.startswith('r'):
		return name + ' plays banjo'
	else:
		return name + ' does not play banjo'


def areYouPlayingBanjo(name):
	if name[0] == 'r' or name[0] == 'R':
		return '%s plays banjo' % name
	else:
		return '%s does not play banjo' % name


areYouPlayingBanjo = lambda n: n + [' does not play banjo', ' plays banjo'][n[0].lower() == 'r']


def areYouPlayingBanjo(name):
	for i in name:
		if i == 'R' or i == 'r':
			return name + ' ' + 'plays banjo'
		else:
			return name + ' does not play banjo'


def areYouPlayingBanjo(name):
	return '{} {} banjo'.format(name, 'plays' if name.lower().startswith('r') else 'does not play')


def areYouPlayingBanjo(name):
	return name + (' does not play banjo', ' plays banjo')[name[0].upper() == 'R']


def areYouPlayingBanjo(name):
	if name[0] in 'rR':
		return '{name} plays banjo'.format(name=name)
	else:
		return '{name} does not play banjo'.format(name=name)


def areYouPlayingBanjo(name):
	return ['%s plays banjo' % name, '%s does not play banjo' % name][name[0].lower() != 'r']


def areYouPlayingBanjo(name):
	if name.upper().startswith('R'):
		return name + ' plays banjo'
	return name + ' does not play banjo'


areYouPlayingBanjo = lambda name: name + ' plays banjo' if name.lower()[0] == 'r' else name + ' does not play banjo'


def areYouPlayingBanjo(name):
	if name.startswith(('R', 'r')):
		return '{} plays banjo'.format(name)
	return '{} does not play banjo'.format(name)


def areYouPlayingBanjo(name):
	return name + ' plays banjo' if name[0] in ('r', 'R') else name + ' does not play banjo'


areYouPlayingBanjo = lambda n: n + (' does not play ', ' plays ')[n[0] in 'Rr'] + 'banjo'


def areYouPlayingBanjo(name):
	return '{} {} banjo'.format(name, ['does not play', 'plays'][name[0] in 'Rr'])


def areYouPlayingBanjo(name):
	return ' '.join([name, 'plays' if str.upper(name[0]) == 'R' else 'does not play', 'banjo'])


def areYouPlayingBanjo(name):
	return name + [' does not play', ' plays'][name.lower().startswith('r')] + ' banjo'


def areYouPlayingBanjo(name):
	status = 'plays' if name[0] in 'Rr' else 'does not play'
	return '{n} {st} banjo'.format(n=name, st=status)


areYouPlayingBanjo = lambda name: ('%s plays banjo' if name[0] in 'Rr' else '%s does not play banjo') % name


def areYouPlayingBanjo(name):
	return name + (' plays' if name.title().startswith('R') else ' does not play') + ' banjo'


def areYouPlayingBanjo(name):
	return name + ' does not play banjo' if name[0] not in 'Rr' else name + ' plays banjo'


def areYouPlayingBanjo(name):
	name_lower = name.lower()
	letters_lst = []
	for item in name_lower:
		letters_lst.append(item)
	if letters_lst[0] == 'r':
		result = name + ' plays banjo'
	else:
		result = name + ' does not play banjo'
	return result


def areYouPlayingBanjo(name):
	if name[0] == 'R' or name[0] == 'r':
		output = name + ' plays banjo'
	else:
		output = name + ' does not play banjo'
	return output
user_name = 'ralan'
print(areYouPlayingBanjo(user_name))


def areYouPlayingBanjo(name):
	lst = list(name)
	if lst[0] == 'r' or lst[0] == 'R':
		return f'{name} plays banjo'
	else:
		return f'{name} does not play banjo'


print('Are you playing banjo?')

def areYouPlayingBanjo(name):
	if name.lower().startswith('r'):
		return name + ' plays banjo'
	else:
		return name + ' does not play banjo'
	return name
areYouPlayingBanjo('martin')
areYouPlayingBanjo('Rikke')


def areYouPlayingBanjo(name):
	x = name.title()
	if x[0] == 'R':
		return name + ' plays banjo'
	else:
		return name + ' does not play banjo'


def areYouPlayingBanjo(name):
	check = any((x is name[0] for x in 'rR'))
	return f'{name} plays banjo' if check else f'{name} does not play banjo'


def areYouPlayingBanjo(n):
	if n[0].lower() == 'r':
		result = 'plays'
	else:
		result = 'does not play'
	return f'{n} {result} banjo'


def areYouPlayingBanjo(name):
	i = name[0:1]
	if i == 'R' or i == 'r':
		return f'{name} plays banjo'
	else:
		return f'{name} does not play banjo'


def areYouPlayingBanjo(name):
	if name.startswith('R'):
		return f'{name} plays banjo'
	elif name.startswith('r'):
		return f'{name} plays banjo'
	else:
		return f'{name} does not play banjo'


def areYouPlayingBanjo(name):
	if name[0] == 'R' or name[0] == 'r':
		stringa = str(name) + ' plays banjo'
		return stringa
	stringa = str(name) + ' does not play banjo'
	return stringa


def areYouPlayingBanjo(name):
	play = False
	if name != '' and name[0] in ('r', 'R'):
		play = True
	res = name + ' does not play banjo'
	if play == True:
		res = name + ' plays banjo'
	return res


from typing import *

def areYouPlayingBanjo(name: List[str]) -> str:
	Yes: str = name + ' plays banjo'
	No: str = name + ' does not play banjo'
	if name[0] == 'r' or name[0] == 'R':
		return Yes
	else:
		return No


def areYouPlayingBanjo(name):
	list = []
	for i in name:
		list.append(i)
	if list[0] == 'R':
		return name + ' plays banjo'
	elif list[0] == 'r':
		return name + ' plays banjo'
	elif list[0] != 'R':
		return name + ' does not play banjo'
	elif list[0] != 'r':
		return name + ' does not play banjo'
	else:
		return 'please try again michelle'


def areYouPlayingBanjo(name):
	nametolist = list(name)
	if nametolist[0] == 'R':
		return name + ' plays banjo'
	elif nametolist[0] == 'r':
		return name + ' plays banjo'
	else:
		return name + ' does not play banjo'


def areYouPlayingBanjo(name):
	if name.upper()[0] == 'R':
		text = '{} plays banjo'.format(name)
	else:
		text = '{} does not play banjo'.format(name)
	return text


import re

def areYouPlayingBanjo(name):
	return name + ' plays banjo' if re.search('\\A[rR]', name) else name + ' does not play banjo'


def areYouPlayingBanjo(name):
	a = name + ' plays banjo'
	b = name + ' does not play banjo'
	if name[0] == 'r' or name[0] == 'R':
		return a
	else:
		return b


def areYouPlayingBanjo(name):
	first = name[0]
	if first == 'R':
		return name + ' ' + 'plays banjo'
	elif first == 'r':
		return name + ' ' + 'plays banjo'
	else:
		return name + ' ' + 'does not play banjo'
print(areYouPlayingBanjo('Martin'))


def areYouPlayingBanjo(name):
	first_letter = name[0]
	if first_letter == 'R':
		return name + ' plays banjo'
	elif first_letter == 'r':
		return name + ' plays banjo'
	return name + ' does not play banjo'


def areYouPlayingBanjo(name):
	return name + (' plays banjo' if name[:1] in 'rR' else ' does not play banjo')


def areYouPlayingBanjo(name):
	first_letter = list(name)[0].lower()
	if first_letter == 'r':
		return name + ' plays banjo'
	return name + ' does not play banjo'


def areYouPlayingBanjo(name):
	list()
	if name[0] == 'R' or name[0] == 'r':
		return str(name) + ' plays banjo'
	else:
		return str(name) + ' does not play banjo'


areYouPlayingBanjo = lambda x: '{} plays banjo'.format(x) if x and x[0].lower() == 'r' else '{} does not play banjo'.format(x)


def areYouPlayingBanjo(name):
	return name + [' does not play', ' plays'][name[0].startswith(('R', 'r'))] + ' banjo'


def areYouPlayingBanjo(name):
	i = 'rR'
	return f'{name} plays banjo' if name[0] in i else f'{name} does not play banjo'


def areYouPlayingBanjo(name):
	first_letter = name[0]
	print(first_letter)
	if first_letter == 'R' or first_letter == 'r':
		return name + ' plays banjo'
	return name + ' does not play banjo'


def areYouPlayingBanjo(name):
	if name.casefold().startswith('r'):
		return f'{name} plays banjo'
	else:
		return f'{name} does not play banjo'