The function takes a string input and modifies it by appending some additional text to the end, based on the input.

