Question: COSC 1 3 3 6 , Programming Fundamentals I Laboratory Project VI Files and Exceptions Problem I: Writing Random Numbers Goal Compose a program that
COSC Programming Fundamentals I
Laboratory Project VI
Files and Exceptions
Problem I: Writing Random Numbers
Goal Compose a program that writes a series of random number to a file. The program should accept the user input of how many random numbers the file will hold and the random number range, le the minumum and maximum random number values.
Modularity: Your program should use functions, as the best practices suggest. At least one function is expected.
Design: Optionally, design your program logic using pseudocode in the IPO diagram. You do not have to submit the diagram to the instructor.
Input Validation: The file should hold at least one and no more than random numbers. The minimum random number value must be in the range and the maximum one must be greater than the minimum one and not exceed
Output and Sample Dialog:Programming Style Requirementz:
Write your program in Python and save it as a py file with the name youlastnameLabo
py
The file must use the main variable to determine whether the file is being imported as a module or is being executed as a standalone program
Your program must use functions, as the best practices suggest at least one function is expected
Each finction must begin with a short comment explsining what the function does
Begin your program with a comment that includes your name and program status either "Complete" or describe any incomplete or nonfunctioning part of your program
Use meaningful verb names for functions such as displaytaxes
Use meaningful variable names such as total taxes or num cookies
Use named constants for all number values that will not be changed in the program
Use Fstrings
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
