day_of_week = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]
title_line = ""
class Color:
BLACK = '\033[30m'#(文字)黒
RED = '\033[31m'#(文字)赤
BLUE = '\033[34m'#(文字)青
RESET = '\033[0m'#全てリセット
for day in day_of_week:
if day == "Sun":
title_line += Color.RED + day + Color.RESET + " "
elif day == "Sat":
title_line+= Color.BLUE + day + Color.RESET + " "
else:
title_line+= Color.BLACK + day + Color.RESET + " "
print(title_line)