代碼
提交代碼
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')
運(yùn)行結(jié)果