All challenges
Multiple ChoiceIntermediate 30s

os.scandir

Choose the best answer for: os.scandir()
Options
  1. 1scandir() is the same as listdir() returning plain names
  2. 2scandir() creates directories rather than listing entries
  3. 3scandir() is a fast directory iterator returning DirEntry
  4. 4scandir() is deprecated and removed from current releases

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