how to remove space from end of the 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())