This commit is contained in:
2025-05-26 06:49:34 +08:00
parent e030d195b8
commit 88c8f2ca32
11 changed files with 19 additions and 11 deletions

View File

@@ -1,9 +1,7 @@
color = str(input('Enter you favourite colour : '))
if color == 'red':
print('I like red too')
elif color == 'RED':
print('I like red too')
elif color == 'Red':
Color = color.capitalize()
if Color == 'Red':
print('I like red too')
else:
print('I don\'t like {0}, I prefer red'.format(color))