Your Word Document Requirements
Part 1: Name: your name

Part 2: Data Source: the source of your data (do not copy and paste your data into the Word document)

Part 3: Questions to Answer: the questions your analysis will answer

Part 4: The Plan: the pseudocode outline of your program

Part 5: Plan Feedback from Your Partner: suggestions from your partner

Part 5: Results: copy and pasted results from your data file

Part 6: Interpretation: your interpretation of the results

Part 7: Final Feedback from Your Partner: description of what your partner found interesting

You can use this rubric

to evaluate your project before you submit it.
What to Submit
You will submit each of the following.

A Word document: Organize it as shown below.
Your data file: Saved with a .txt extension
Your program: Saved with a .txt extension since you cannot upload a .py file.
Your results file: Saved with a .txt extension.

Answers

Answer 1

Using the knowledge in computational language in python it is possible to write a code that the pseudocode outline of your program;

Writting the code:

import sys

import os

def main():

   # Check and retrieve command-line arguments

   if len(sys.argv) != 3:

       print(__doc__)

       sys.exit(1)   # Return a non-zero value to indicate abnormal termination

   fileIn  = sys.argv[1]

   fileOut = sys.argv[2]

   # Verify source file

   if not os.path.isfile(fileIn):

       print("error: {} does not exist".format(fileIn))

       sys.exit(1)

   # Verify destination file

   if os.path.isfile(fileOut):

       print("{} exists. Override (y/n)?".format(fileOut))

       reply = input().strip().lower()

       if reply[0] != 'y':

          sys.exit(1)

   # Process the file line-by-line

   with open(fileIn, 'r') as fpIn, open(fileOut, 'w') as fpOut:

       lineNumber = 0

       for line in fpIn:

           lineNumber += 1

           line = line.rstrip()   # Strip trailing spaces and newline

           fpOut.write("{}: {}\n".format(lineNumber, line))

           # Need \n, which will be translated to platform-dependent newline

       print("Number of lines: {}\n".format(lineNumber))

if __name__ == '__main__':

   main()

See more about python at brainly.com/question/12975450

#SPJ1

Your Word Document RequirementsPart 1: Name: Your NamePart 2: Data Source: The Source Of Your Data (do

Related Questions

Other Questions
the term meaning blood within a joint is vango, inc. bought a new delivery van during the year. which of these costs should be expensed as ordinary repairs and maintenance? (check all that apply.) the exclusion amount for a purchased fixed-term annuity can be calculated by dividing the cost of the annuity by the total number of payments.a. trueb.false ENGLISH - THE GREAT GATSBY - KEY TECHNIQUES AND HISTORICAL RESEARCH; 14 studiers today; Leave the first rating label the vertices then use the pythagorean theorem to find x graph the exponential function y52x which statement below is true concerning a perpetual iventory systema. It allows for the determination of cost of goods sold after each sale. b. It requires a physical inventory count to determine the cost of goods on hand. c. Cost of goods sold is determined based on a physical count at the end of the period. d. It is used infrequently due to the high cost of determining the cost of goods acquired. PLEASE HELP AND GET POINTS!!Drag the phrase to indicate which fossil fuel it describes. A phrase may be used more than once. (2 points)coal: Oil: Natural gas::: formed at at the bottom of swampsoil:: made mostly of methanenatural gas::made mostly of hydrocarbons:: sediment, rock, and water apply pressure and heat to plant remains:: formed at the bottom of the ocean where sediment, rock, and water apply pressure and heat Will a piece of paper produce the same kind of reflection as the mirror? Explain your answer What is the Missouri merit plan? What is the term for non-bonding electrons sometimes present in covalent molecules?O Lone pairsO Valence electronsO ElectronsO Mobile electrons Find the exact value of sin(u + v) given that sinu = 5/3 and cos v =-4/5. (Both u and v are in Quadrant I.) a chart that is inserted directly in the current worksheet is called a(n) ____ chart. For what reasons does Laertes say Ophelia should not be with Hamlet? meiosis i and meiosis ii are very different from one another. can you identify what happens in each?sort each item to the appropriate bin. Diabetes and hypertension two most common causes of chronic __________ in united states. 12. The hourly temperatures at Eppley Airfield Airport in Omaha, Nebraska, in May 2014 are approximately normally distributed with a mean of 64.4F and a standard deviation of 12.2 F. The z-score of the lowest temperature is 2.49. What is the lowest temperature? Round your result to the ones place. Which type of website is generally considered to be most trustworthy and reliable?A. Organizational (.org)B. Foreign (for example , .uk, .ca)C. Commercial (.com)D. Educational (.edu) one thousand independent rolls of a fair die will be made. compute an approximation to the probability that the number 6 will appear between 150 and 200 times inclusively. The shop floor manager in a dairy company believes that the milk packaging process unit for one-liter packs is not working fine (the quantity of milk is not 1 liter in all the packages) and needs calibration. The manager wants to validate whether the average quantity of milk in a one-liter pack is different from 1 liter. He frames the null hypothesis asLaTeX: H_0: \mu = 1, where LaTeX: \mu is the mean quantity of milk in one-liter packs.What would be the alternative hypothesis to test that the mean quantity is different from 1 liter?