''' Purpose: demonstrate string acquisition (the getting of input) ''' # get input reply = input( 'Tell me a favorite word: ' ) print() # compute length of word n = len( reply ) # give feedback print( 'Did you know that', reply, 'has length', n )