Attribute Writers
Learn how to set attribute information
We'll cover the following
Setting attribute information
Imagine that a person not only needs a name but also a password. However, let’s also imagine that, at the time of the creation of a new person
instance, this password is not yet known.
Instead, we want to be able to tell the person
object about its email password later.
We can do this like so:
Create a free account to access the full course.
By signing up, you agree to Educative's Terms of Service and Privacy Policy