Question: Write a function that checks if a word is in a list. If the word is in the list, then return the position of the

Write a function that checks if a word is in a list. If the word is in the list, then return the position of the word in the list. If the word is not in the list then print an error message.

Step by Step Solution

3.38 Rating (154 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

1 check it a word is in a list of Not def find wordposit... View full answer

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 Programming Questions!