def print_solution(lst):
	"""Print a solution to stdout
	The argument lst is a nested list
	"""
	for i in range(len(lst)):
		stars=['.']*len(lst)
		stars[lst[i]]='Q'
		print stars
Print a solution to stdout
	The argument lst is a nested list
	
recipes/Python/475145_general_solutiEight/recipe-475145.py