... | ... | @@ -91,7 +91,7 @@ class Point: |
|
|
return sqrt(self.x ** 2 + self.y ** 2)
|
|
|
```
|
|
|
|
|
|
A proper discussion of Object oriented Python would require explanation of the [rules of a class
|
|
|
A proper discussion of object oriented Python would require explanation of the [rules of a class
|
|
|
checklist](https://www.cs.odu.edu/~tkennedy/cs330/f20/Public/classChecklistCrossLanguage/index.html).
|
|
|
|
|
|
| C++ | Java | Python 3 | Rust |
|
... | ... | |