Hello, the description seems to allow input with several consecutive spaces. If so, what's the expected result of
cut_sentence("Hi my name is Alex", 6)
I tend to favour
"Hi my..."
, though code resulting in
"Hi my ..."
seems to pass all tests as well. Maybe we could add a clarification?
Created at: 2022/09/18 10:02; Updated at: 2022/09/18 12:18