Make a program that takes a value (x) and returns "Bang" if the number is divisible by 3, "Boom" if it is divisible by 5, "BangBoom" if it divisible by 3 and 5, and "Miss" if it isn't divisible by any of them.
Note: Your program should only return one value

Ex: Input: 105 --> Output: "BangBoom"
Ex: Input: 9 --> Output: "Bang"
Ex:Input: 25 --> Output: "Boom"

Difficulty: EASY
Starter code: def multiple(x):
	

Solutions:
def multiple(x):
	return 'Bang' * (x % 3 == 0) + 'Boom' * (x % 5 == 0) or 'Miss'


def multiple(x):
	if x % 15 == 0:
		return 'BangBoom'
	if x % 5 == 0:
		return 'Boom'
	if x % 3 == 0:
		return 'Bang'
	return 'Miss'


def multiple(x):
	val = ''
	if x % 3 == 0:
		val += 'Bang'
	if x % 5 == 0:
		val += 'Boom'
	if val == '':
		val = 'Miss'
	return val


def multiple(x):
	return 'BangBoom' if not x % 15 else 'Boom' if not x % 5 else 'Bang' if not x % 3 else 'Miss'


def multiple(x):
	return ['Miss', 'Bang', 'Boom', 'BangBoom'][(x % 3 == 0) + (x % 5 == 0) * 2]


def multiple(x):
	return '{}{}'.format('' if x % 3 else 'Bang', '' if x % 5 else 'Boom') or 'Miss'


def multiple(x):
	resu = []
	if x % 3 == 0 and x % 5 == 0:
		return 'BangBoom'
	elif x % 5 == 0:
		return 'Boom'
	elif x % 3 == 0:
		return 'Bang'
	else:
		return 'Miss'