Question: EPython For this assignment, you will implement a program that creates random eye charts. Your program will use nested loops, decisions, functions, and random numbers.

 EPython For this assignment, you will implement a program that creates

EPython For this assignment, you will implement a program that creates random eye charts. Your program will use nested loops, decisions, functions, and random numbers. It must work as follows: Using a sentinel loop pattern, prompt the user to determine if they want an eye chart produced. If the user says yes, prompt them for whether they want a box or pyramid shape chart. Based on the shape, prompt accordingly to determine the size. Print a properly spaced eye chart of random letters and numbers (2-9). Your chart must randomly choose either letter or number and then randomly choose a letter or a number Allow the user to repeat the process until the sentinel value is entered. You must implement at least two functions in this program. Global variables are never allowed so do not use them. Make sure all variables are declared with local scope. Your eye chart must produce both letters and numbers in a random fashion! All user input must be validated

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!