1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
bixtya [17]
3 years ago
10

Q: If a program is invoked with "python program.py -r input.dat output.dat", what are the elements of argv?

Computers and Technology
1 answer:
Hunter-Best [27]3 years ago
7 0

Answer:

C

Explanation:

C.argv[0]: "program.py"

argv[1]: "-r"

argv[2]: "input.dat"

argv[3]: "output.dat"

is the right answer. as 0 argument is always the script. We can find this by importing sys and using the command sys.argv. And like len(sys.argv) will give total number of arguments.  

You might be interested in
When did mac start? when did windows start? when did lynux start?
ale4655 [162]

Answer: Macintosh start January 24, 1984

Windows start November 20, 1985

Linux start October 5, 1991

7 0
3 years ago
Read 2 more answers
Mary, Tim, John, and Jenn each sold three million dollars worth of product within six months. Each month one of them was awarded
photoshop1234 [79]

if its the same chart im looking at on this page, the answer is john.

5 0
3 years ago
Read 2 more answers
Hi can someone please help me with this homework please?
notka56 [123]

Answer: How is someone suppose to help those aren't straight questions theres a whole other site you have to go to for that.

4 0
2 years ago
The main trade-off that all investors must consider is
Talja [164]
<span>The main trade-off that all investors must consider is Risk vs Return
In the end, all the techniques that implemented in investing process is aimed for nothing other than profit.
Current market trend dictates that potential return tend to be higher the riskier the investment is and vice versa.
</span>
3 0
3 years ago
Read 2 more answers
Which of these is NOT one of the main parts of an email?
slega [8]
I think the answer is c
3 0
4 years ago
Read 2 more answers
Other questions:
  • Ana works in the medical records department at a large medical office. Her job includes scanning and uploading medical records i
    15·1 answer
  • Write a program that requires the user to enter two floating-point numbers (num1 and num2) from the keyboard. Multiply them and
    6·1 answer
  • WHICH OF THE FOLLOWING LOOKS JUST LIKE A CD ROM BUT CAN STORE MUCH MORE INFORMATION
    8·2 answers
  • What are three ways you cite evedince
    5·2 answers
  • All of the following are challenges presented by changing technology as it relates to the special events field EXCEPT: A. the ab
    13·1 answer
  • Why is a class called a factory of objects
    11·1 answer
  • drag each type of document to the correct location on the table. Drag each document to its respective category
    7·1 answer
  • A rectangle indicates a single process.true or false​
    7·2 answers
  • Help plz (will give brainliest)
    9·1 answer
  • Intelligent transportation systems use GPS to<br> Select all that apply.
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!