Question: In python write the following program: Letter Grade to Number and do Input Validation. The input should be exactly one or two character in length

In python write the following program:

Letter Grade to Number and do Input Validation.

The input should be exactly one or two character in length With an uppercase character potentially followed by either + or -

You should not accept "nonsense" grades such as "G+" If the user enters any type of invalid input simply print ERROR Otherwise return the correct corresponding grade value

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!