def percent_str( val):
	if val > 1:
		tmp_val = val
	else:
		tmp_val = round(val * 100)

	return str(int(tmp_val)) + "%"
dataset/ETHPy150Open atadams/Hex-to-HSL-Color/RGB-to-HSL-color.py/percent_str/original