You are viewing a single comment's thread. Return to all comments →
Do you really need to combine the elifs with >=13 AND < 18, since the first if already checks that condition?
as in, would this be equivalent: if self.age < 13:
elif self.age <18:
Day 4: Class vs. Instance
You are viewing a single comment's thread. Return to all comments →
Do you really need to combine the elifs with >=13 AND < 18, since the first if already checks that condition?
as in, would this be equivalent: if self.age < 13:
elif self.age <18: