I would like to use a mathematical serie to define a constant inside a class. I would like to know whether this is compliant with the PEP8. Thank you in advance. Please see image below
Asked
Active
Viewed 52 times
-2
-
1Please don't post images of code. Copy and paste the code instead. – Brian McCutchon Sep 28 '20 at 16:31
-
Look also [here](https://stackoverflow.com/questions/5096025/should-class-specific-constants-still-be-declared-at-module-level) – Timus Sep 28 '20 at 16:35
-
This almost feels like an XY-problem. Why do you need such a "constant"? Constants are usually numbers or strings... What do you do with that `SIZE`? – Tomerikoo Sep 28 '20 at 16:42