<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def community_colors(n):
 	""" 	Returns a list of visually separable colors according to total communities 	"""


	if (n > 0):
		colors = cl.scales['12']['qual']['Paired']
		shuffle(colors)

		return colors[:n]
	else:
		return choice(cl.scales['12']['qual']['Paired'])