Accenture interview question

Create a function that concatenates a word.