Question: python please! hw4 part4.py (Worth 10 points) Finally, create a program that determines whether a subject can be studied or not First, the program must

 python please! hw4 part4.py (Worth 10 points) Finally, create a program

that determines whether a subject can be studied or not First, the

python please!

hw4 part4.py (Worth 10 points) Finally, create a program that determines whether a subject can be studied or not First, the program must ask the user to enter ten different subjects, and store those subjects in a list. Once the list contains the ten subjects, the program must use the following two rules to determine how each subject should be printed back out to the user. 1. If the subject ends in ology" print out You can study SUBJECT 2. Otherwise, simply print the subject: SUBJECT is not real! For these inputs, you can assume the following: The words entered will be in all lowercase The words entered will be at least 6 characters long (HINT You will want to use string slicing to check if the string ends with "ology Review Lecture 08 (Strings and More) for details on how to use slicing.) You may not use any built-in Python methods, such as endswith to check if the string ends in "ology" or not. (See the next page for sample output.)

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!