In functional languages this is called "destructuring assignment".
This article could be a great jumping off point into namedtuple[1], the walrus operator [2] and the Pattern Matching[3] (Python 3.10), which assist into getting back into the symbolic domain from the structural domain, though you will have to come up with names! :)
Remember that namedtuple has the following additional methods
_make Class method that makes a new instance from an existing sequence or iterable
_asdict Return a new dict which maps field names to their corresponding values
_replace Return a new instance of the named tuple replacing specified fields with new values
_fields Tuple of strings listing the field names
_field_defaults Dictionary mapping field names to default values.
[1] https://docs.python.org/3/library/collections.html#collectio...