1. Home
  2. All MCQs

All MCQs with Answers · Page 741

45,334 multiple choice questions from every subject, newest first. Switch on practice mode to hide the answers and test yourself.

Newest first

What does the dir() function do with no arguments in Python?

  1. Lists names in the current scope Correct answer
  2. Lists files in a directory
  3. Changes directory
  4. Returns the current path
MCQSEXAM Read explanation