55t*_*iss 0 python dictionary list
I have a dictionary like so:
look_up = {1: ('January', str(now.year + 1) + '-01-01', '2020-01-31', 'E'),
2: ('February', str(now.year + 1) + '-02-01', '2020-02-29', 'F'),
3: ('March', str(now.year + 1) + '-03-01', '2020-03-31', 'G'),
4: ('April', str(now.year + 1) + '-04-01', '2020-04-30', 'H'),
5: ('May', str(now.year + 1) + '-05-01', '2020-05-31', 'I'),
6: ('June', str(now.year + 1) + '-06-01', '2020-06-30', 'J'),
7: ('July', str(now.year + 1) + '-07-01', '2020-07-31', 'K'),
8: ('August', str(now.year + 1) + '-08-01', '2020-08-31', 'L'),
9: ('September', str(now.year + 1) + '-09-01', '2020-09-30', 'M'),
10: ('October', str(now.year) + '-10-01', '2019-10-31', 'N'),
11: ('November', str(now.year) + '-11-01', '2019-11-30', 'O'),
12: ('December', str(now.year) + '-12-01', '2019-12-31', 'P')}
Run Code Online (Sandbox Code Playgroud)
I would like to create a list from it containing just the firs value position, in this case a list of the months. How can I do this?