diff --git a/curriculum/challenges/english/blocks/lecture-classes-and-objects/6908d38f7cccc31602743340.md b/curriculum/challenges/english/blocks/lecture-classes-and-objects/6908d38f7cccc31602743340.md index 1b64b69f9e3..1051ca1bf5b 100644 --- a/curriculum/challenges/english/blocks/lecture-classes-and-objects/6908d38f7cccc31602743340.md +++ b/curriculum/challenges/english/blocks/lecture-classes-and-objects/6908d38f7cccc31602743340.md @@ -71,7 +71,7 @@ attr_name = input('Enter the attribute you want to see: ') print(getattr(person, attr_name, 'Attribute not found')) ``` -In this case, if the user types in `name`, they see `John Doe`, and if they type in `age`, they see `30`. And If they type something that doesn't exist in the class like `email`, they see `Attribute not found`. +In this case, if the user types in `name`, they see `John Doe`, and if they type in `age`, they see `30`. And if they type something that doesn't exist in the class like `email`, they see `Attribute not found`. This is exactly where dynamic attribute handling shines. It lets your code respond to input and data it hasn't seen before.