Possible Error with the Truncate a string, hint Code

is it just me or the code for the “Truncate a string” problem doesn’t work, I mean the hint code, I have solved it but I do like going through the hint it didn’t work when I tried it someone else should please check it out @QuincyLarson