how to reove the end space in a string code example
Example: Which method in an be used to remove any whitespace from both the beginning and the end of a string?
str = "hello "
print(str.trim())
str = "hello "
print(str.trim())