MCQ
………………… condition tested using file operators is True if a file with the specified name exists and is not a directory.
  • A
    –r name
  • B
    –d name
  • C
    –s name
  • –f name

Answer

Correct option: D.
–f name
  –f name

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free