Hello I am new to Python. I have a list which contains
[['year', 'month', 'date_of_month', 'day_of_week', 'births'],
['1994', '1', '1', '6', '8096'],
['1994', '1', '2', '7', '7772'],
['1994', '1', '3', '1', '10142'], ......]
I want to create a dictionary like
days_counts = {
0: 10000,
1: 10000,
2: 10000,
...
}
the key is day_of_week values which are from 1 to 7 and value is the total number of births on that day.