@@ -0,0 +1,129 @@
+def truncate(s: str, length: int) -%3E str:%0A    if len(s) %3E length:%0A        return f%22%7Bs%5B:length - 1%5D%7D%E2%80%A6%22%0A    else:%0A        return s%0A

Add truncate func