はじめに
Python では、リストは順序付きで変更可能なアイテムのコレクションです。時々、2 つのリストを結合して重複する要素を削除して、すべての一意の要素を含む新しいリストを取得する必要があります。このプロセスはリストの和集合と呼ばれます。このチャレンジでは、2 つのリストを入力として受け取り、両方のリストからのすべての一意の要素を含む新しいリストを返す Python 関数を書くよう求められます。
Skills Graph
%%%%{init: {'theme':'neutral'}}%%%%
flowchart RL
python(("Python")) -.-> python/BasicConceptsGroup(["Basic Concepts"])
python(("Python")) -.-> python/DataStructuresGroup(["Data Structures"])
python(("Python")) -.-> python/FunctionsGroup(["Functions"])
python(("Python")) -.-> python/PythonStandardLibraryGroup(["Python Standard Library"])
python/BasicConceptsGroup -.-> python/variables_data_types("Variables and Data Types")
python/BasicConceptsGroup -.-> python/comments("Comments")
python/DataStructuresGroup -.-> python/lists("Lists")
python/DataStructuresGroup -.-> python/tuples("Tuples")
python/FunctionsGroup -.-> python/function_definition("Function Definition")
python/FunctionsGroup -.-> python/build_in_functions("Build-in Functions")
python/PythonStandardLibraryGroup -.-> python/data_collections("Data Collections")
subgraph Lab Skills
python/variables_data_types -.-> lab-13738{{"Python における一意のリストの結合"}}
python/comments -.-> lab-13738{{"Python における一意のリストの結合"}}
python/lists -.-> lab-13738{{"Python における一意のリストの結合"}}
python/tuples -.-> lab-13738{{"Python における一意のリストの結合"}}
python/function_definition -.-> lab-13738{{"Python における一意のリストの結合"}}
python/build_in_functions -.-> lab-13738{{"Python における一意のリストの結合"}}
python/data_collections -.-> lab-13738{{"Python における一意のリストの結合"}}
end