Beginner help

phaas3 at u.rochester.edu phaas3 at u.rochester.edu
Sun Feb 5 18:27:08 EST 2017


Hi everyone. I'm new to python and have hit a bit of a wall with an assignment I'm working on. I created a number of classes and instantiated them, now I need to create a list out of them. I am looking for something more elegant than appending each object to the list as I instantiate it. I tried setting up an if loop, but didn't get far with it. Any suggestions?




More information about the Python-list mailing list