Improve the Proposal Check

Learn to improve the behavior of the program by incorporating additional checks.

Towards the end of the last lesson, we identified the following unwanted behaviors:

  • Giving an uppercase letter doesn’t work.
  • Giving two letters instead of one results in a two-letter comparison.

Handle the uppercase letter

Let’s understand the scenario first and try to fix it.

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy