You are viewing a single comment's thread. Return to all comments →
This example is too simple. endswith() is enough to solve this with Python and similar solutions that do not require regular expressions may be easily devised in other languages.
For day 28, a harder problem which essentially obligates the user to use of regular expressions would be a better fit.