Question: Write a program to tell whether a person is a Beatle. Heres the worksheet: The user types a name in B1, and clicks the button.
Write a program to tell whether a person is a Beatle. Heres the worksheet:

The user types a name in B1, and clicks the button. If the name if John, Paul, George, or Ringo, the program says that the person is a Beatle:

Otherwise, the program shows Not a Beatle.
The program should work for upper- and lowercase characters, and when there are spaces before and/or after the name. For example, jOHn should be identified as a Beatle. I cannot get my code to work. When I type in a Beatles name it gives me the message "Not a Beatle"
As it stands this is how it looks.
Any help would be greatly appreciated!
A 1 First name: George 3 Is that a Beatle? Run
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
