3 ms·
This is explicitly called out in the article. What does your code do when I try my_point3d.x ?
by Fatnino 5y ago
This is explicitly called out in the article.
What does your code do when I try my_point3d.x ?
- zem 5y agoyou can do that with namedtuples too; the problem is that tuples are immutable, so you cannot say e.g. `my_point3d.x = 10`