I have two lists, L1
and L2
, each with some data and two scenarios:
L1 = {{"a", {"aa", "ab"}}}; L2 = {{"a", {"ac", "aab", "aac"}}}
. How do I align two lists to make{{"a", {"aa", "ab", "ac", "aab", "aac"}}}
?L1 = {(*{"a",{"aa"}},*)}; L2 = {"a", {"ab", "ac", "aab", "aac"}}
How do I align two lists to make{"a", {(*"aa",*)"ab", "ac", "aab", "aac"}}
?
{}
button above the edit window. The edit window help button?
is also useful for learning how to format your questions and answers. You may also find this this meta Q&A helpful $\endgroup$L1
is essentially an empty list, since the contents are commented away. Is that really what you meant? $\endgroup$(**)
- comments are not going to survive any evaluation unless the are inside string so what you want to get, doesn't make sense. Comments are comments. $\endgroup$