update
This commit is contained in:
@@ -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))
|
||||
|
Reference in New Issue
Block a user