代码
提交代码
color = input() if color == 'red': print('color is red') elif color == 'green': print('color is green') elif color == 'blue': print('color is ') else: print('color is other')
运行结果