はじめに
Pythonでは、datetime
モジュールを使って今日からn
日後の日付を簡単に計算できます。このチャレンジでは、整数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(("Python")) -.-> python/ModulesandPackagesGroup(["Modules and Packages"])
python(("Python")) -.-> python/PythonStandardLibraryGroup(["Python Standard Library"])
python/BasicConceptsGroup -.-> python/comments("Comments")
python/DataStructuresGroup -.-> python/tuples("Tuples")
python/FunctionsGroup -.-> python/function_definition("Function Definition")
python/ModulesandPackagesGroup -.-> python/importing_modules("Importing Modules")
python/ModulesandPackagesGroup -.-> python/using_packages("Using Packages")
python/ModulesandPackagesGroup -.-> python/standard_libraries("Common Standard Libraries")
python/PythonStandardLibraryGroup -.-> python/date_time("Date and Time")
subgraph Lab Skills
python/comments -.-> lab-13615{{"今日からの日数を計算する"}}
python/tuples -.-> lab-13615{{"今日からの日数を計算する"}}
python/function_definition -.-> lab-13615{{"今日からの日数を計算する"}}
python/importing_modules -.-> lab-13615{{"今日からの日数を計算する"}}
python/using_packages -.-> lab-13615{{"今日からの日数を計算する"}}
python/standard_libraries -.-> lab-13615{{"今日からの日数を計算する"}}
python/date_time -.-> lab-13615{{"今日からの日数を計算する"}}
end