Код: Выделить всё
words = 'blue yellow'
Код: Выделить всё
if words ??? 'blue':
print 'yes'
elif words ??? 'blue':
print 'no'
Подробнее здесь: https://stackoverflow.com/questions/153 ... ins-a-word
Код: Выделить всё
words = 'blue yellow'
Код: Выделить всё
if words ??? 'blue':
print 'yes'
elif words ??? 'blue':
print 'no'