From 64da68fdfd87aae69e9c7bfae1c182c68453c310 Mon Sep 17 00:00:00 2001 From: alex reynoso <157060912+reybozo@users.noreply.github.com> Date: Thu, 6 Nov 2025 15:53:27 -0600 Subject: [PATCH] fix(curriculum): fixed typo in class and object lecture (#63585) --- .../lecture-classes-and-objects/6908d38f7cccc31602743340.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.