akosiraff

Download hw6

Mar 4th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1.  
  2. Download: https://solutionzip.com/downloads/hw6/
  3. Get a limit (type int) from the user to represent the upper limit of the list. There must be error
  4. checking on the input integer. If it not greater than 2, the program will print an error message
  5. and re-prompt. This process will continue until an integer greater than 2 is entered. You must
  6. use a try-except structure to trap both types of input errors (like letters where numbers should
  7. go) and range errors (like < 2). There must be error checking on the menu choice entered. If the user enters a choice not on the menu, the program will print an error message, re-display the menu and re-prompt. This process will continue until a valid option value is entered. Your solution must be modular. The design of your functions is up to you, but the rules of “highly cohesive” and “loosely coupled” must be followed. Your program should be well-documented. Explain what you’re doing in your code. Be sure to include the usual name and assignment notes. Submit as usual in a ‘.py’ file named with your last name, first initial and ‘hw6.py’.
  8. Download: https://solutionzip.com/downloads/hw6/
Add Comment
Please, Sign In to add comment