def divisors(intgr):
	""" Return all divisors of an integer, except 1 and the number itself.
	"""
	divisors = []
	for i in range(1,intgr+1):
		if(intgr%i==0):
			divisors.append(i)
	return divisors[1:-1]