""" Purpose: expand input processing capabilities by splitting an input string into its component words """ # Get input reply = input( "What are your three favorite words: " ) # Determine individual words w1, w2, and w3 w1, w2, w3 = reply.split() # Display results print() print( "Your favorite words:" ) print( w1 ) print( w2 ) print( w3 )