what is the use of the strip() in python code code example Example: strip in python txt = " banana " x = txt.strip() #x will be "banana"