""" Purpose: demonstrate strip() function capabilities """ # get inputs text = input( "Enter text: " ) s = input( 'Enter stripping characters: ' ) print() # get cleaned up version of the text output = text.strip( s ) # print the result print( output )