|
No it's not possible to do it that way. It's much more than bad syntax.
In your code, ret is an object (instance of a class). It represents a single instance. The .name and the .place are methods in whatever class to which ret belongs.
It sounds like you need to do some reading on the idea of classes, objects and methods before you try to start learning too much more code.
|