Multiple ChoiceIntermediate 30s
String partition
Choose the best answer for: str.partition()
Options
- 1partition() splits at first occurrence, returns 3-tuple
- 2partition() splits the string at every occurrence
- 3partition() returns a list of all split parts
- 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.