Сообщество IT-специалистов
Ответы на любые вопросы об IT
Профессиональное развитие в IT
our_color2 = [[184, 197, 186],[162, 193, 166],[132, 183, 136],[88, 171, 95],[132, 183, 136],[109,176,115],[110,177,115]] our_color = [] for l in our_color2: our_color = l print(our_color)
from random import randint our_color = [[184, 197, 186],[162, 193, 166],[132, 183, 136],[88, 171, 95],[132, 183, 136],[109,176,115],[110,177,115]] our_color = our_color[randint(0, 6)] randint(0, 6) - так как 7 значений