X1251: endsLy

Complete the following function. When given aString, return True if it ends in "ly". Return False otherwise.

Examples:

endsLy("Hello World") ->  False
endsLy("Beautifully") -> True

Your Answer:

Reset

Practice a different Python exercise

Feedback

Your feedback will appear here when you check your answer.