The command line arguments in Python can be printed as a list of string by…

2025

The command line arguments in Python can be printed as a list of string by executing

Answer: B. Sys.argv

  1. A.

    OS.argv

  2. B.

    Sys.argv

  3. C.

    .argv

  4. D.

    None of these

Attempted by 131 students.

Show answer & explanation

Correct answer: B

Explore the full course: Mppsc Assistant Professor Computer Science Paper 2

Loading lesson…