3rd day of python challenges 51-59
This commit is contained in:
parent
f132554039
commit
30d27afab2
@ -4,7 +4,7 @@ color = ['red', 'blue', 'green', 'orange', 'black']
|
|||||||
select_color = random.choice(color)
|
select_color = random.choice(color)
|
||||||
ask = 0
|
ask = 0
|
||||||
while select_color != ask:
|
while select_color != ask:
|
||||||
ask = str(input('Choose colour to guess computer colour! : '))
|
ask = str(input('Choose colour to guess computer colour! : ')).lower()
|
||||||
if select_color != ask:
|
if select_color != ask:
|
||||||
print('You are probably feeling {0} right now'.format(select_color))
|
print('You are probably feeling {0} right now'.format(select_color))
|
||||||
print('Well done')
|
print('Well done')
|
||||||
|
Loading…
Reference in New Issue
Block a user