Run »
×
Change Orientation
class Person: name = "John" age = 36 country = "Norway" setattr(Person, 'age', 40) # The age property will now have the value: 40 x = getattr(Person, 'age') print(x)
40
×
Report a Problem:
Your E-mail:
Page address:
Description:
Submit