Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

MySQL/PHP Database Applications

Authors: Brad Bulger, Jay Greenspan, David Wall

2nd Edition

0764549634, 9780764549632

More Books

Students also viewed these Databases questions

Question

Answered: 1 week ago

Answered: 1 week ago

Question

Is the person willing to deal with the consequences?

Answered: 1 week ago