```if-not:sql
Create a function (or write a script in Shell) that takes an integer as an argument and returns "Even" for even numbers or "Odd" for odd numbers.
```

```if:sql
## SQL Notes:
You will be given a table, `numbers`, with one column `number`.

Return a table with a column `is_even` containing "Even" or "Odd" depending on `number` column values.

### numbers table schema
* number INT

### output table schema
* is_even STRING
```

Difficulty: EASY
Starter code: def even_or_odd(number):
	

Solutions:
def even_or_odd(number):
	return 'Odd' if number % 2 else 'Even'


def even_or_odd(number):
	return ['Even', 'Odd'][number % 2]


def even_or_odd(number):
	status = ''
	if number % 2 == 0:
		status = 'Even'
	else:
		status = 'Odd'
	return status


def even_or_odd(number):
	return 'Odd' if number & 1 else 'Even'


even_or_odd = lambda number: 'Odd' if number % 2 else 'Even'


def even_or_odd(number):
	if number == 0:
		return 'Even'
	elif number % 2 == 0:
		return 'Even'
	else:
		return 'Odd'


def even_or_odd(number):
	if number % 2 == 0:
		return 'Even'
	return 'Odd'


def even_or_odd(number):
	return number % 2 and 'Odd' or 'Even'


even_or_odd = lambda n: 'EOvdedn'[n % 2::2]


even_or_odd = lambda n: ['Even', 'Odd'][n % 2]


def even_or_odd(number):
	even_or_odd = {0: 'Even', 1: 'Odd'}
	return even_or_odd[number % 2]


even_or_odd = lambda i: 'Odd' if i & 1 else 'Even'


even_or_odd = lambda x: 'Even' if x % 2 == 0 else 'Odd'


def even_or_odd(number):
	if number < 0:
		number = -1 * number
	if number % 2 == 0 or number == 0:
		return 'Even'
	else:
		return 'Odd'


def even_or_odd(number):
	if not isinstance(number, int):
		raise Exception('The input is not an integer')
	if number % 2 == 0:
		return 'Even'
	return 'Odd'


def even_or_odd(x):
	if x % 2 == 0:
		return 'Even'
	else:
		return 'Odd'


even_or_odd = lambda n: 'Odd' if n % 2 else 'Even'


def even_or_odd(n):
	if n % 2 == 0:
		return 'Even'
	else:
		return 'Odd'


def even_or_odd(number):
	return ('Even', 'Odd')[number & 1]


def even_or_odd(n):
	return 'Odd' if n & 1 else 'Even'


def even_or_odd(number):
	return ['Even', 'Odd'][float(number) / 2 != int(number / 2)]


def even_or_odd(number):
	number = str(number)
	even = ['0', '2', '4', '6', '8']
	if number[-1] in even:
		return 'Even'
	else:
		return 'Odd'


def even_or_odd(number):
	string = ''
	if number & 1 >> 0:
		string = 'Odd'
	else:
		string = 'Even'
	return string


def even_or_odd(number):
	if number % 2 == 0:
		return 'Even'
	elif number % 2 == 1:
		return 'Odd'
	else:
		return 'you are somewhat wrong'


def even_or_odd(number):
	test = '0'
	if number % 2 == 0:
		test = 'Even'
	else:
		test = 'Odd'
	return test


def even_or_odd(value):
	value2 = 2
	result = value % value2
	if result == 0:
		result_real = 'Even'
	else:
		result_real = 'Odd'
	return result_real


def even_or_odd(number):
	if number == 0:
		return 'Even'
	elif number % 2 == 0:
		return 'Even'
	else:
		return 'Odd'
even_or_odd(2)
even_or_odd(0)
even_or_odd(7)
even_or_odd(1)
even_or_odd(-1)


def even_or_odd(number):
	i = number / 2
	if int(i) == float(i):
		return 'Even'
	else:
		return 'Odd'


def even_or_odd(number):
	message = ''
	if number % 2 == 0:
		message = 'Even'
	else:
		message = 'Odd'
	return message


def even_or_odd(number):
	ievade = int(number)
	if ievade % 2 == 0:
		return 'Even'
	else:
		return 'Odd'


def even_or_odd(number):
	modulo = number % 2
	if modulo == 1:
		return 'Odd'
	elif modulo == 0:
		return 'Even'


def even_or_odd(number):
	f = number / 2
	check = f.is_integer()
	if check == True:
		return 'Even'
	else:
		return 'Odd'


def even_or_odd(num):
	if num % 2 != 0:
		return 'Odd'
	else:
		return 'Even'


def even_or_odd(number):
	divisable = number % 2
	if divisable == 0:
		return 'Even'
	else:
		return 'Odd'


def even_or_odd(number):
	if not isinstance(number, int):
		print('This is not an integer')
	elif number % 2 == 0:
		return 'Even'
	else:
		return 'Odd'


def even_or_odd(name):
	a = 'Even'
	b = 'Odd'
	if name % 2 == 0:
		return a
	else:
		return b
even_or_odd(3)


def even_or_odd(number):
	assert type(number) == int
	return 'Even' if number % 2 == 0 else 'Odd'


def even_or_odd(number):
	try:
		if number % 2 == 0:
			return 'Even'
		elif number % 2 == 1:
			return 'Odd'
	except:
		print('error: not a number')


def even_or_odd(number):
	if int(number / 2) == float(number / 2):
		return 'Even'
	else:
		return 'Odd'
num = 10024001232
print(even_or_odd(num))


def even_or_odd(number):
	ans = number % 2
	if ans == 0:
		return 'Even'
	else:
		return 'Odd'


def even_or_odd(number):
	x = 'Odd'
	y = 'Even'
	if number % 2 == 0:
		return y
	else:
		return x


def even_or_odd(number):
	ostatok = number % 2
	if ostatok == 0:
		return 'Even'
	else:
		return 'Odd'


def even_or_odd(number):
	return 'Even' if is_even(number) else 'Odd'

def is_even(number):
	return True if number % 2 == 0 else False


def even_or_odd(number):
	if type(number) == int:
		return 'Even' if number % 2 == 0 else 'Odd'
	else:
		return 'Parameter needs to be an integer.'


def even_or_odd(number):
	if number % 2 == 0:
		return 'Even'
	else:
		return 'Odd'
print(even_or_odd(153))


def even_or_odd(number):
	if number % 2 == 0:
		print('This one is Even')
		return 'Even'
	else:
		print('This one is Odd')
		return 'Odd'


def even_or_odd(n):
	if n % 2 == 0:
		return 'Even'
	elif n % 2 == 1:
		return 'Odd'
	else:
		return 'Invalid input'
a = even_or_odd(5)
print(a)


def even_or_odd(number):
	a = int(number / 2)
	if number / 2 == a:
		return 'Even'
	else:
		return 'Odd'


def even_or_odd(number):
	modresult = number % 2
	if modresult != 0:
		print('Odd')
		return 'Odd'
	else:
		print('Even')
		return 'Even'


def even_or_odd(number):
	check = abs(number) % 2
	if check == 0:
		return 'Even'
	else:
		return 'Odd'


def even_or_odd(number):
	number = int(number)
	if number.__mod__(2) == 0:
		return 'Even'
	else:
		return 'Odd'


def even_or_odd(number):
	z = number % 2
	if z == 0:
		return 'Even'
	else:
		return 'Odd'


def even_or_odd(number):
	r = number / 2
	if r % 1:
		return 'Odd'
	else:
		return 'Even'


def even_or_odd(number):
	num = int(number)
	if num % 2 == 0:
		return 'Even'
	return 'Odd'


def even_or_odd(number):
	if number % 2 == 0:
		return 'Even'
	else:
		return 'Odd'
x = even_or_odd(-1)
print(x)


def even_or_odd(number: int) -> str:
	if type(number) is not int:
		print('Argument must be an integer!')
	else:
		return 'Even' if number % 2 == 0 else 'Odd'