MCQ Answer

Command line arguments in Python are accessed using:

Command line arguments in Python are accessed using:

Python में command-line arguments को किससे access किया जाता है?
Topic : Modules in Python

A. argv[]

B. sys.argv

C. input()

D. args[]




Correct Answer is :

B. sys.argv



Explanation
Python stores command-line arguments in the argv list of the sys module.

Python में command-line arguments sys module की argv list में उपलब्ध होते हैं।
Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad