Answered You can hire a professional tutor to get the answer.

QUESTION

Your lab submission should consist of a single Python file, Lab5.py, uploaded to the Lab 5 Assignment folder. The Lab5.py file should meet all of the...

Your lab submission should consist of a single Python file, Lab5.py, uploaded to the Lab 5 Assignment folder. The Lab5.py file should meet all of the following requirements:

  • Comments including a brief description of the program, Input List and Output List, and full pseudocode. Place the pseudocode for each module above the module's Python code.
  • The program must have at least one input and at least one output.
  • All user input must be validated. This means the user is not allowed to just enter any value. You must check the value, and ask the user to enter it again, and repeat this loop until the user enters a valid value.
  • Your program must use at least two arrays in meaningful ways. These two arrays can contain any type of values, as long as they are both used meaningfully in your program.
  • Your program must have at least one loop that accesses the data in the arrays. For example, you might have an input loop that asks the user to enter the data one element at a time (be sure to validate the data). Or, you might have an output loop that writes the data to the console. Or, you might have a calculation loop that calculates one or more values, such as minimum value, maximum value, averages, and so on. You can have all three of those types of loops, if you want (the Lab 5 walkthrough video shows an example of each).
  • Your program should be organized into separate modules. Each module should be "cohesive" and should only do one thing.
  • Use parameters and arguments to pass values into your modules (don't use global variables).
  • The Python code should run correctly, and the logic should match your pseudocode.
  • For all labs, continue, break, and while true are not allowed in your program.
Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question