I have a class object and tried to add that object to a class list but it doesn\'t work for some reason. What am I doing wrong here? I am new to Python. I know this kind of ques