Which of the following is used in Python to access command-line arguments…

PYQ IBPS SO CRP SPL-XIV (2024)

Which of the following is used in Python to access command-line arguments passed to a program?

  1. A.

    os.path

  2. B.

    sys.argv

  3. C.

    input.argv

  4. D.

    args.sys

  5. E.

    command.line

Attempted by 165 students.

Sign up free to check your answer

Sign up free

Explore the full course: Ibps So It Mains

Loading lesson…