You are given a string text.
Return a str made of exactly two characters: the first character of text followed by the last character of text.
Special cases:
text has only one character, both the first and the last are that same character, so return that character twice (e.g. "a" → "aa").text is empty, return the empty string "".NOTE: This is a function-type question — you only write the function. Do not read input or print anything; a hidden checker calls your function and checks its return value.
Arguments
'hello'
Returns
'ho'