Course Content
In-Depth Python OOP
In-Depth Python OOP
Challenge: Protected Password
Swipe to show code editor
Wow, here is our User
class again! Let's protect the password!
- All
password
attributes and arguments were replaced by the placeholder (___
) to help you not miss some attributes. - Use the protected access modifier (
_
) to protect thepassword
attribute.
Note
Arguments taken by functions should be without protected access modifier.
Thanks for your feedback!
Challenge: Protected Password
Swipe to show code editor
Wow, here is our User
class again! Let's protect the password!
- All
password
attributes and arguments were replaced by the placeholder (___
) to help you not miss some attributes. - Use the protected access modifier (
_
) to protect thepassword
attribute.
Note
Arguments taken by functions should be without protected access modifier.
Thanks for your feedback!
Challenge: Protected Password
Swipe to show code editor
Wow, here is our User
class again! Let's protect the password!
- All
password
attributes and arguments were replaced by the placeholder (___
) to help you not miss some attributes. - Use the protected access modifier (
_
) to protect thepassword
attribute.
Note
Arguments taken by functions should be without protected access modifier.
Thanks for your feedback!
Swipe to show code editor
Wow, here is our User
class again! Let's protect the password!
- All
password
attributes and arguments were replaced by the placeholder (___
) to help you not miss some attributes. - Use the protected access modifier (
_
) to protect thepassword
attribute.
Note
Arguments taken by functions should be without protected access modifier.