FunctionRacerProblemsRace

Adult Names

BeginnerpandasPython

people has columns name (text) and age (int). Return a list of the names of everyone who is at least 18, in the order they appear.

Example 1

people {"name":["Ana","Ben","Cy"],"age":[17,18,40]}
returns ["Ben","Cy"]

Ben (18) and Cy (40) are adults.

Constraints

Race itor take your time

Write it in your browser, against the clock. The model solution, stepped through line by line, comes after.

More pandas problems