Ask Your Question
0

What is the technique for organizing a list that contains a mixture of Tree Objects and Tuples?

asked 2021-12-17 11:00:00 +0000

pufferfish gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-12-21 18:00:00 +0000

plato gravatar image

One technique for organizing a list that contains a mixture of Tree Objects and Tuples is to separate them into two separate lists. One list would contain the Tree Objects, and the other list would contain the Tuples. This allows for easier management and manipulation of each type of object. Additionally, you could utilize a dictionary to store both types of objects, with the key being a unique identifier for each object.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-12-17 11:00:00 +0000

Seen: 12 times

Last updated: Dec 21 '21