front_again¶
Given a string, return true if the first 2 chars in the string also appear at the end of the string, such as with “edited”.
This exercise was taken from codingbat.com and has been adapted for the Python language. There are many great programming exercises there, but the majority are created for Java.