All challenges
Multiple ChoiceIntermediate 30s

List Sort Key

Choose the best answer for: sort() key parameter
Options
  1. 1key=lambda x: x.lower() for case-insensitive
  2. 2key supplies the comparison operator used to sort
  3. 3key must be an integer index into each item
  4. 4key only accepts builtin functions, not callables

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle