Challenge
The full text of this chapter, to read or revisit. To practise, do the exercises.
▶ Do the exercisesExercise 1 — Annual report: Step 1
Professor Pi is writing the annual report of the lab.
Step 1: return the name and capture_date of the Codémons captured before 2023, oldest capture first.
Starter code
-- Step 1: captured before 2023Exercise 2 — Annual report: Step 2
Step 2: the June training camp. Return the name and the training month (named training_month) of the Codémons whose training_date is in June 2023. Use strftime.
Starter code
-- Step 2: June 2023 training campExercise 3 — Annual report: Step 3
Step 3: evolution speed. For the Codémons that have an evolution date, return the name and the number of days between capture and evolution (named days_to_evolve), fastest first.
Starter code
-- Step 3: fastest evolutions