All challenges
Multiple ChoiceIntermediate 30s

String partition

Choose the best answer for: str.partition()
Options
  1. 1partition() splits at first occurrence, returns 3-tuple
  2. 2partition() splits the string at every occurrence
  3. 3partition() returns a list of all split parts
  4. 4partition() is the same as split() with no arguments

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