You take your son to the forest to see the monkeys. You know that there are a certain number there (n), but your son is too young to just appreciate the full number, he has to start counting them from 1.

As a good parent, you will sit and count with him. Given the number (n), populate an array with all numbers up to and including that number, but excluding zero.

For example:
```python
monkeyCount(10) # --> [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
monkeyCount(1) # --> [1]
```

Source: codewars | Difficulty: EASY
Tags: Fundamentals

Data structures

Starter code: def monkey_count(n):
	

Solutions:
def monkey_count(n):
	return list(range(1, n + 1))


def monkey_count(n):
	return [i + 1 for i in range(n)]


def monkey_count(n):
	list = []
	for i in range(1, n + 1):
		list.append(i)
	return list


def monkey_count(n):
	poop = []
	c = 1
	for i in range(0, n):
		poop.append(c)
		c += 1
	return poop


monkey_count = lambda n: [m for m in range(1, n + 1)]


def monkey_count(n):
	return list(range(1, n + 1))
print(monkey_count(4))


monkey_count = lambda e: list(range(1, e + 1))


def monkey_count(n):
	a = []
	i = 1
	while i < n + 1:
		a = a + [i]
		i += 1
	return a


def monkey_count(n):
	c = []
	for i in range(n):
		c.append(i + 1)
	return c


def monkey_count(n):
	L = []
	L.extend(range(1, n + 1))
	return L


def monkey_count(n):
	ans = []
	for i in range(n):
		ans.append(i + 1)
	return ans


def monkey_count(n):
	return [x for x in range(1, n + 1)]


monkey_count = lambda m: list(range(1, m + 1))


monkey_count = lambda n: list(range(1, n + 1))


def monkey_count(n):
	num = []
	for monkey in range(1, n + 1):
		num.append(monkey)
	return num


def monkey_count(n):
	listA = []
	ind = 0
	for i in range(n):
		listA.append(ind + 1)
		ind += 1
	return listA


def monkey_count(n):
	count = []
	i = 0
	while i < n:
		count.append(i + 1)
		i += 1
	return count


def monkey_count(n):
	l = []
	count = 1
	while count <= n:
		l.append(count)
		count += 1
	return l


def monkey_count(n):
	return [_ for _ in range(1, n + 1)]


def monkey_count(n):
	y = []
	for i in range(n):
		y.insert(i, i + 1)
	return y


def monkey_count(n):
	monkeys = []
	for monke in range(1, n + 1):
		monkeys.append(monke)
	return monkeys


def monkey_count(n):
	ln = []
	for x in range(1, n + 1):
		ln.append(x)
	return ln


def monkey_count(n):
	tall = 0
	count = []
	while tall < n:
		tall += 1
		count.append(tall)
	return count


def monkey_count(n):
	lst_return = []
	for i in range(n):
		lst_return.append(i + 1)
	return lst_return


monkey_count = lambda _: list(range(1, _ + 1))


def monkey_count(n):
	print(n)
	c = list(range(1, n + 1))
	return c


def monkey_count(n):
	amount = []
	count = 1
	for i in range(n):
		amount.append(count)
		count = count + 1
	return amount


def monkey_count(n):
	a = []
	while n > 0:
		a.append(n)
		n -= 1
	a.sort()
	return a


def monkey_count(n):
	x = [int(x) for x in range(n + 1)]
	x.remove(0)
	return x


def monkey_count(n):
	hold = []
	for i in range(1, n + 1):
		hold.append(i)
	return hold


def monkey_count(n):
	test = []
	for i in range(0, n):
		test.append(i + 1)
	return test
huhu = monkey_count(9)
print(huhu)


def monkey_count(n):
	a = n + 1
	b = [i for i in range(1, a)]
	return b


def monkey_count(n):
	l = []
	i = 0
	for i in range(n):
		print(i + 1)
		l.append(i + 1)
	return l


def monkey_count(n):
	array = []
	for monkey in range(1, n + 1):
		array.append(monkey)
	return array


def monkey_count(n):
	nums = []
	for i in range(n + 1):
		if i > 0:
			nums.append(i)
	return nums


from array import *

def monkey_count(n):
	arr = array('i', range(1, n + 1))
	return [a for a in arr]


def monkey_count(n):
	list_of_num = []
	for monkey_num in range(1, n + 1):
		list_of_num.append(int(monkey_num))
	return list_of_num


def monkey_count(n):
	arr = []
	i = n
	while i > 0:
		arr.append(i)
		i -= 1
	arr.reverse()
	return arr


def monkey_count(n):
	mylist = []
	num = int(n)
	num += 1
	for el in range(num):
		mylist.append(el)
	return mylist[1:]


def monkey_count(n):
	i = 1
	n += 1
	arr = list()
	while i != n:
		arr.append(i)
		i += 1
	return arr


def monkey_count(n):
	return list(range(1, n + 1)) if n is not 1 else 1


monkey_count = lambda c: list(range(1, c + 1))


def monkey_count(n):
	rl = []
	i = 1
	while i <= n:
		rl.append(i)
		i += 1
	return rl


def monkey_count(n):
	cnt = 0
	count_lst = []
	while cnt < n:
		cnt += 1
		count_lst.append(cnt)
	return count_lst


def monkey_count(n):
	a = [value + 1 for value in range(n)]
	return a


def monkey_count(n):
	monkeyCount = []
	for i in range(n):
		monkeyCount.append(i + 1)
	return monkeyCount


def monkey_count(num):
	ans = []
	for n in range(num):
		ans.append(n + 1)
	return ans


def monkey_count(n):
	z = 0
	liste = []
	while n != 0:
		n -= 1
		z += 1
		liste.append(z)
	return liste


def monkey_count(n):
	return [1] if n == 1 else list(range(1, n + 1))


def monkey_count(n):
	count = 0
	num = []
	while count < n:
		num.append(count + 1)
		count += 1
	return num


def monkey_count(n):
	lst = []
	for i in range(0, n):
		lst.append(i + 1)
	return lst


def monkey_count(n):
	x = list(range(n + 2))
	return x[1:-1]


def monkey_count(a):
	return [i for i in range(1, a + 1)]


def monkey_count(n):
	list1 = []
	for i in range(1, n + 1, 1):
		list1.append(i)
	return list1


def monkey_count(n):
	i = 1
	lst = []
	while i <= n:
		lst.append(i)
		i += 1
	return lst


def monkey_count(n):
	arr = []
	[arr.append(x) for x in range(1, n + 1)]
	return arr


def monkey_count(n):
	haha = []
	x = list(range(1, n + 1))
	for i in x:
		haha.append(i)
	return haha


def monkey_count(n):
	o = []
	for i in range(n):
		o.append(i + 1)
	return o


def monkey_count(n):
	return [monkeys for monkeys in range(1, +n + 1)]


def monkey_count(n):
	count = 0
	thislist = []
	while count != n:
		count += 1
		thislist.append(count)
	return thislist


def monkey_count(n):
	k = range(1, n + 1)
	m = list(k)
	return m


def monkey_count(n):
	emptylist = []
	for eachnumber in range(1, n + 1):
		emptylist.append(eachnumber)
	return emptylist


def monkey_count(n):
	list = []
	for i in range(n + 1):
		i += 1
		list.append(i)
		if i == n:
			break
		else:
			continue
	return list


def monkey_count(n):
	l1 = []
	for i in range(1, n + 1):
		l1.append(i)
	return l1


def monkey_count(n):
	nn = []
	for it in range(1, n + 1):
		nn.append(it)
	return nn


def monkey_count(n):
	count = 1
	list = []
	while count <= n:
		list.append(count)
		count += 1
	return list


def monkey_count(n):
	monkeys = []
	for i in range(1, n + 1):
		monkeys.append(i)
	return monkeys


def monkey_count(n):
	n = range(1, n + 1)
	pusta_lista = []
	for x in n:
		pusta_lista.append(x)
	return pusta_lista


def monkey_count(n):
	mc = []
	for i in range(1, n + 1):
		mc.append(i)
	return mc


def monkey_count(n):
	return list(sorted((n - i for i in range(n))))


def monkey_count(n):
	return [] if n < 1 else monkey_count(n - 1) + [n]


def monkey_count(n):
	monks = []
	for i in range(1, n + 1):
		monks.append(i)
	return monks


import numpy as np

def monkey_count(n):
	n2 = n + 1
	value = list(range(1, n2))
	return value


def monkey_count(n):
	arrMonk = []
	for i in range(1, n + 1):
		arrMonk.append(i)
	return arrMonk