Python - Classes and Object Lifecycle
Which of the following is the correct syntax to change the attribute
age of an object person to 30?age of an object person to 30?object.attribute = value.person.age to 30 by writing person.age = 30.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions