Question: 2. Word Check a. Write a Python program (WordCheck.py) that checks if a non-capital word entered by the user is in the first half of

 2. Word Check a. Write a Python program (WordCheck.py) that checks

2. Word Check a. Write a Python program (WordCheck.py) that checks if a non-capital word entered by the user is in the first half of the alphabet, i.e. between the letters a-n, n excluded. The program will prompt the user to enter a word, and print True, if the word is in the first half of the alphabet, and print False otherwise. (An example of such a program is shown on slide 14 of lecture 6.) b. Run your program 4 times. Which result do you expect? Did the program show the expected result? i. Enter a word that starts with "h". ii. Enter a word that starts with "m". iii. Enter a word that starts with "n". iv. Enter a word that starts with a capital letter. Save the Python Shell window as Test2.txt. Submit your source code file WordCheck.py and Test2.txt

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!