3rd day of python challenges 51-59

This commit is contained in:
abd.shallal
2019-07-18 12:44:06 +03:00
parent b29d889e05
commit f132554039
11 changed files with 271 additions and 419 deletions

View File

@@ -0,0 +1,10 @@
import random
color = ['red', 'blue', 'green', 'orange', 'black']
select_color = random.choice(color)
ask = 0
while select_color != ask:
ask = str(input('Choose colour to guess computer colour! : '))
if select_color != ask:
print('You are probably feeling {0} right now'.format(select_color))
print('Well done')