I have a dictionary of the example:
E = 527:{ (‘GENERAL MOTORS CORP.’, datetime.date(1, 1, 1), False, ‘KENOSHA’, ‘WI’)}
I need to take out the datetime.date(1,1,1) and turn this into a separate list outside of the tuple. I’m supposed to access the date for multiple keys and include them into a list. I’m very confused and looking to do this for a general for of any key. This is taken from a general data table where the key is index 1 and the values in the tuples are the next indexed values.
Would [E[527][1] be correct?
Use:
OR:
OR:
As per you comment it can be something like: