If you can't sleep, just count sheep!!

## Task:
Given a non-negative integer, `3` for example, return a string with a murmur: `"1 sheep...2 sheep...3 sheep..."`.  Input will always be valid, i.e. no negative integers.

Difficulty: EASY
Tags: String algorithms

Fundamentals

Starter code:
def count_sheep(n):
	

Solutions:
def count_sheep(n):
	return ''.join((f'{i} sheep...' for i in range(1, n + 1)))


def count_sheep(n):
	sheep = ''
	for i in range(1, n + 1):
		sheep += str(i) + ' sheep...'
	return sheep


def count_sheep(n):
	return ''.join(('{} sheep...'.format(i) for i in range(1, n + 1)))


def count_sheep(n):
	return ''.join(('%d sheep...' % (i + 1) for i in range(n)))


def count_sheep(n):
	return ''.join((f'{x + 1} sheep...' for x in range(n)))


def count_sheep(n):
	return ' sheep...'.join((str(num) for num in range(1, n + 1))) + ' sheep...'


def count_sheep(n):
	if n == 1:
		return '1 sheep...'
	else:
		return count_sheep(n - 1) + '{} sheep...'.format(n)


count_sheep = lambda n: ''.join(('{} sheep...'.format(i) for i in range(1, n + 1)))


def count_sheep(n):
	result = ''
	for i in range(0, n):
		result += str(i + 1) + ' sheep...'
	return result


def count_sheep(n):
	store_1 = []
	for x in range(1, n + 1):
		store_1.append(f'{x} sheep...')
	my_lst_str = ''.join(map(str, store_1))
	return my_lst_str


def count_sheep(n):
	output = ''
	for i in range(1, n + 1):
		output += f'{i} sheep...'
	return output


def count_sheep(n):
	return ''.join((str(x) + ' sheep...' for x in range(1, n + 1)))


def count_sheep(n):
	string = ''
	for i in range(1, n + 1):
		string += f'{i} sheep...'
	return string


def count_sheep(n):
	x = 1
	list = []
	while x <= n:
		sheep = '{} sheep...'.format(x)
		list.append(sheep)
		x += 1
	return ''.join(list)


def count_sheep(n):
	sheep = ''
	x = 1
	while x <= n:
		sheep = sheep + str(x) + ' sheep...'
		x += 1
	return sheep


def count_sheep(x):
	sh = ''
	for i in range(1, x + 1):
		sh += f'{i} sheep...'
	return sh


def count_sheep(n):
	return ''.join(['{} sheep...'.format(x) for x in list(range(n + 1))[1:]])


def count_sheep(n):
	sheep = ''
	for m in range(1, n + 1):
		sheep = sheep + str(m) + ' sheep...'
	return sheep


def count_sheep(n):
	return ''.join((str(item) + ' sheep...' for item in range(1, n + 1)))


def count_sheep(n):
	count = 0
	details = []
	for i in range(1, n + 1):
		count += 1
		details.append(str(count) + ' sheep...')
	return ''.join(details)


def count_sheep(n):
	if n == 0:
		return ''
	else:
		count = '1 sheep...'
		for i in range(2, n + 1):
			count += f'{i} sheep...'
	return count


def count_sheep(n):
	empty = []
	for num in range(1, n + 1):
		empty.append(f'{num} sheep...')
	return ''.join(empty)


def count_sheep(n):
	c = ''
	for i in range(1, n + 1):
		c += f'{i} sheep...'
	return c


def count_sheep(n):
	sheep_list = []
	sheep = '{} sheep...'
	while n >= 1:
		iteration = sheep.format(n + 1 - 1)
		sheep_list.append(iteration)
		n -= 1
	sheep_list.reverse()
	return ''.join(sheep_list)


def count_sheep(n):
	opstr = 'sheep...'
	oplst = []
	count = 1
	while count <= n:
		oplst.append(str(count) + ' ' + opstr)
		count += 1
	return ''.join(oplst)


def count_sheep(n):
	m = ''
	for i in range(0, n):
		m += f'{i + 1} sheep...'
	return m


def count_sheep(n):
	count = 1
	message = ''
	while count <= n:
		message = message + str(count) + ' sheep...'
		count += 1
	return message


def count_sheep(n):
	return ''.join((f'{el} sheep...' for el in range(1, n + 1)))


def count_sheep(n):
	a = ''
	return ''.join((a + str(i + 1) + ' sheep...' for i in range(n)))


def count_sheep(n):
	i = 1
	ans = ''
	while i <= n:
		ans = ans + str(i) + ' ' + 'sheep...'
		i = i + 1
	return ans


def count_sheep(n):
	frase = ' sheep...'
	pecore = ''
	for i in range(n):
		pecore += str(i + 1) + frase
	return pecore


def count_sheep(n):
	hold = ''
	for i in range(n):
		hold += '{} sheep...'.format(i + 1)
	return hold


def count_sheep(n):
	x = 0
	s = []
	while x < n:
		for _ in range(n):
			x += 1
			s.append(f'{x} sheep...')
	return ''.join(s)


count_sheep = lambda n: n and count_sheep(n - 1) + str(n) + ' sheep...' or ''


def count_sheep(n):
	count = ''
	for i in range(1, n + 1):
		count += f'{i} sheep...'
	return count


def count_sheep(n):
	i = 1
	string = ''
	while i <= n:
		string += '%d sheep...' % i
		i += 1
	return string


def count_sheep(n):
	new_s = ''
	for i in range(1, n + 1):
		new_s += f'{i} sheep...'
	return new_s


def count_sheep(n):
	answer = ''
	for i in range(n):
		answer += f'{i + 1} sheep...'
	return answer


def count_sheep(n):
	strhr = ''
	for i in range(1, n + 1):
		strhr += f'{i} sheep...'
	return strhr


def count_sheep(n):
	returnArr = []
	for i in range(1, n + 1):
		returnArr.append(str(i) + ' sheep...')
	return ''.join(returnArr)


def count_sheep(n):
	z = 1
	sheeps = ''
	while z <= n:
		sheep = f'{z} sheep...'
		sheeps = sheeps + sheep
		z += 1
	return sheeps


def count_sheep(n):
	output = ''
	counter = 1
	while n > 0:
		output += f'{counter} sheep...'
		n -= 1
		counter += 1
	return output


def count_sheep(total):
	return ''.join((f'{n} sheep...' for n in range(1, total + 1)))


def count_sheep(n):
	r = ''
	for i in range(1, n + 1):
		r += f'{i} sheep...'
	return r


def count_sheep(n):
	text = ''
	for x in range(1, n + 1):
		text += str(x) + ' sheep...'
	return text


def count_sheep(n):
	answer = ''
	for i in range(n):
		answer += '{} sheep...'.format(i + 1)
	return answer


count_sheep = lambda n: ''.join((str(i + 1) + ' sheep...' for i in range(n)))


def count_sheep(n):
	count = ''
	for i in range(1, n + 1):
		count += str(int(i)) + ' sheep...'
	return count


def count_sheep(n):
	count = 1
	str = ''
	while count <= n:
		str += f'{count} sheep...'
		count += 1
	return str


def count_sheep(n):
	lista = []
	for numbers in range(n):
		numbers = numbers + 1
		lista.append('{} sheep...'.format(numbers))
	return ''.join(lista)


def count_sheep(n):
	res = ''
	count = 1
	while n > 0:
		res += '{} sheep...'.format(count)
		count += 1
		n -= 1
	return res


def count_sheep(n):
	bahh = ''
	for i in range(1, n + 1):
		cool = str(i) + ' sheep...'
		bahh = str(bahh) + str(cool)
	return bahh


def count_sheep(n):
	x = ''
	for i in range(1, n + 1):
		x += '%d sheep...' % i
	return x


def count_sheep(n):
	x = ' sheep...'
	z = ''
	for i in range(n):
		y = str(i + 1) + x
		z = z + y
	return z


def count_sheep(n):
	return ''.join([f'{c + 1} sheep...' for c in range(n)])


def count_sheep(n):
	o = ''
	for i in range(1, n + 1):
		o += f'{i} sheep...'
	return o


def count_sheep(n):
	t = ''
	for x in range(1, n + 1, 1):
		t += str(x) + ' sheep...'
	return t


def count_sheep(n):
	total = ''
	x = 0
	for i in range(n):
		x += 1
		total += str(x) + ' sheep...'
	return total


def count_sheep(n):
	ans = ''
	for i in range(n):
		ans = ans + '{} sheep...'.format(i + 1)
	return ans


def count_sheep(n):
	res = ''
	for p in range(1, n + 1):
		p = str(p)
		res = res + (p + ' sheep...')
	return res
print(count_sheep(3))


def count_sheep(n):
	sheeps = ''
	for i in range(1, n + 1):
		sheep = f'{i} sheep...'
		sheeps += sheep
	return sheeps


def count_sheep(n):
	sheep = ''
	for i in range(1, n + 1):
		sheep += str(i) + ' sheep...'
	return sheep
print(count_sheep(5))


def count_sheep(n):
	outstring = ''
	for x in range(1, n + 1):
		outstring += str(x) + ' sheep...'
	return outstring


def count_sheep(n):
	nums = [x for x in list(range(1, n + 1))]
	sheep = []
	for i in nums:
		sheep.append(str(i) + ' sheep...')
	sheep = ''.join(sheep)
	return sheep


def count_sheep(n):
	shpStr = ''
	for x in range(1, n + 1):
		shpStr = shpStr + str(x) + ' sheep...'
	return shpStr


def count_sheep(n):
	result = ''
	x = 1
	while x <= n:
		result = result + str(x) + ' sheep...'
		x = x + 1
	return result
count_sheep(3)


def count_sheep(n):
	salida = ''
	for x in range(1, n + 1):
		salida = salida + str(x) + ' sheep...'
	return salida