Write a code in Python to check whether an input string ends with "ing" or not.
- User
Write a code in Python to check whether an input string ends with "ing" or not.
Assistant
-
Python strings have a built-in method called . This is the most efficient and readable way to solve this problem.
-