Lesson 52 of 62 ยท about 16 minutes
Properties and Managed Attributes ๐๏ธ
Properties and Managed Attributes ๐๏ธ In some languages you write getSpeed() and setSpeed() methods for every attribute, just in case. Python has a better idea: start with plain attributes, and if you later need logic when they are read or changed, turn themโฆ
This lesson is part of Pythonaut Pro. The first two lessons are free, so you can start there and see how it works.