はじめに
Python には、リストを操作するための多くの方法があります。一般的なタスクの 1 つは、リストから n
個の最大要素を見つけることです。このチャレンジでは、リストから n
個の最大要素を返す関数を書くよう求められます。
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/BasicConceptsGroup -.-> python/booleans("Booleans")
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/default_arguments("Default Arguments")
python/FunctionsGroup -.-> python/build_in_functions("Build-in Functions")
subgraph Lab Skills
python/booleans -.-> lab-13688{{"リストから最大要素を見つける"}}
python/comments -.-> lab-13688{{"リストから最大要素を見つける"}}
python/lists -.-> lab-13688{{"リストから最大要素を見つける"}}
python/tuples -.-> lab-13688{{"リストから最大要素を見つける"}}
python/function_definition -.-> lab-13688{{"リストから最大要素を見つける"}}
python/default_arguments -.-> lab-13688{{"リストから最大要素を見つける"}}
python/build_in_functions -.-> lab-13688{{"リストから最大要素を見つける"}}
end