I'm making a very simple to-do list application and I'm trying to create a list for each instance of my class. I was looking to have seven lists, one for each day, which would be used to store tasks however I can't get my head around it. Example of what I am trying to do:
class Day:
    def __init__(self, name, todo_list):
        self.name = name
        self.todo_list = todo_list 
day_Mon = Day('Monday', (MonList=[]))
day_Tue = Day('Tuesday', (TueList=[]))
...
I am very new to OOP and I'm just doing this to try try improve my understanding so I'm not sure if this is even possible/sensible (I've only seen questions about creating lists of instances). Is anyone able to help?
(MonList=[],)would be atuple. Here parenthesis are just useless.Day()'s constructer (2) You don't need to doMonList=[]orTueList=[]. Just simply pass in a list:day_Mon = Day('Monday', [])and the same for every other day.