def first_n(list_arg, number):
	return list_arg[:number + 1]
	
def pc_to_num(x):
	return float(''.join([char for char in x if char.isdigit() or char == '.']))
	
def pass_along(x):
	return x
	
def make_dict(x, y, x_string, y_string):
	return { x_string : x,
			 y_string : y}
			 
def aligner(x):
	if x < 0 :
		return "right"
	else:
		return "left"
		
def text_test():
	
	return """
	In November 2014, 3,674 Londoners took part in the first London \n
	Survey run by Talk London, to tell the powers that be what they 
	thought of the city and their neighbourhood. \n
	
	Interviews were not randomly sampled, but self-selecting  \n
	via a number of known databases. This achieved a non- \n
	representative sample of Londoners. \n
	
	Participants were asked how safe they feel on different \n
	modes of London transport both by day, and by night. \n
	The average results are presented in the donut \n
	shaped graphics. The bars represent the 
	differential response rate of the \n
	participants that identified as gay, \n
	lesbian or bi-sexual as against the \n
	average numbers. These people made \n
	up roughly 10 % of the sample.\n
	
	The data might suggest something \n
	about the ways that gays perceive \n
	safety on London transport, or \n
	they might not. What do you \n
	think?
	
	They definitely \n
	seem to say \n
	something \n
	about \n
	busses.
	
	"""