how to trim white space at beginning and end of 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())