###Lucky number

Write a function to find if a number is lucky or not. If the sum of all digits is 0 or multiple of 9 then the number is lucky.

`1892376 => 1+8+9+2+3+7+6 = 36`. 36 is divisble by 9, hence number is lucky.


Function will return `true` for lucky numbers and `false` for others.

Difficulty: EASY
Starter code: def is_lucky(n):
	

Solutions:
def is_lucky(n):
	return n % 9 == 0


def is_lucky(n):
	sume = 0
	for i in str(n):
		sume += int(i)
	return True if sume % 9 == 0 else False


def is_lucky(n):
	digits = list(str(n))
	return sum(list(map(int, digits))) % 9 == 0


def is_lucky(n):
	return sum([int(i) for i in str(n)]) % 9 == 0


is_lucky = lambda n: n % 9 < 1


def is_lucky(n):
	count = 0
	n = str(n)
	for i in n:
		count += int(i)
	if count == 0 or count % 9 == 0:
		return True
	return False


def is_lucky(n):
	sum = 0
	for number in str(n):
		sum += int(number)
	return sum % 9 == 0


def is_lucky(n):
	print(36 % 9)
	res = 0
	for x in str(n):
		res += int(x)
	if res % 9 == 0:
		return True
	else:
		return False


def is_lucky(n):
	return not n or not n % 9