This easy write in Python and also applicable to javascript can be used to synthesize any string by use of indexing and slicing