по питону вот мой код:
sq = [1, 3, 5, 7, 9, 12, 14, 16, 18, 19, 21, 23, 25, 27, 30, 32, 34, 36]
bq = [2, 4, 6, 8, 10, 11, 13, 15, 17, 20, 22, 24, 26, 28, 31, 33, 35]
a = int(input())
if a == sq:
print('красный')
elif a == bq:
print('черный')
elif a == 0:
print('зеленый')
else:
print('ошибка ввода')


по питону вот мой код: sq = [1, 3, 5, 7, 9, 12, 14, 16, 18, 19, 21, 23, 25, 27, 30, 32, 34, 36] bq =
по питону вот мой код: sq = [1, 3, 5, 7, 9, 12, 14, 16, 18, 19, 21, 23, 25, 27, 30, 32, 34, 36] bq =

Tomi200 Tomi200    3   21.11.2020 19:17    1

Другие вопросы по теме Информатика