[Solved] Python Defining Lists in Lists
Lists don’t take name-value pairs. You probably want dictionaries here instead: definitions = { ‘title_label’: { ‘text’: (236, 218, 51), ‘background’: (125, 142, 246) }, ‘start_button’: { ‘text’: (32, 40, 145), ‘background’: (236, 235, 136), ‘pressed’: (44, 51, 112) }, ‘quit_button’: { ‘text’: (166, 21, 13), ‘background’: (48, 61, 188), ‘pressed’: (31, 40, 129) } … Read more