Jun-08-2020, 06:09 PM
(Jun-08-2020, 06:01 PM)ruy Wrote: And how does python return self._temperature?
(Jun-08-2020, 05:37 PM)buran Wrote: Later when you try to access self.temperature, it will call the function decorated as @temperature.property and it will return self._temperature.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs