Properties, class methods, and static methods are additional tools available to OOP development. There are others you will find as you gain Python proficiency, but these are some of the key ones to be aware of, primarily because we will use them in the second half of this book when we write the full-featured application.
Properties and class and static methods
Properties
Properties are found in other languages as getters and setters. As those terms indicate, they are used to get data and set (modify) data. To gain an understanding of getters, setters, and Python properties, we'll start with an example problem:
Temperature class
Here, we create a class that defines the temperature in degrees Fahrenheit. The __init__(...