FunctionRacerProblemsRace

Everyone Else

BeginnerpandasPython

people has columns name and city. Return a list of the names of people who do not live in city, in the order they appear.

Example 1

people {"name":["Ana","Ben","Cy"],"city":["Rome","Oslo","Rome"]}
city "Rome"
returns ["Ben"]

Only Ben lives elsewhere.

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