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:

Feedback

Your feedback will appear here when you check your answer.