01 / 07
Those lines that only copy
When you met classes in Chapter 5, you wrote this inside __init__. Remember it?
class Member: def __init__(self, name, age): self.name = name self.age = ageEvery one of those lines only copies a value it received straight into an attribute. Five items, five lines; ten items, ten. The same thing over and over with only the name changed — and you go on writing it forever.