def replace_all(text, dic):
	""" replaces multiple strings based on a dictionary

	replace_all(string,dictionary) -> string

	"""
	for i, j in dic.items():
		text = text.replace(i, str(j))
	return text