Erician words

For some reason I really liked this small problem from PSET5 from MITx 6.00x. Here is the problem definition: A word is considered erician if it contains the letters e , r , i , and c in it, in that order. For example, we would say that the following words are erician : "meritocracy", "generic", "derrick", "euphoric", "heretic", and "electric", because they each contain those four letters in the correct order. The word "rice" is not erician because the four letters appear in the wrong order. In this problem, we want you to write a more generalized function called x_ian(x, word) that returns True if all the letters of x are contained in word in the same order as they appear in x . This algorithm works merging the two strings together and comparing character by character to determine if "x" is contained within "word" . First o...