''' Purpose: demonstrate string acquisition (the getting of input) ''' # get input reply = input( 'Tell me what is on your mind: ' ) # first user input is stored in reply print() prompt_for_more_info = 'Hmmm. --' + reply + ' -- Why is that on your mind: ' # Now prompt for more info uses the user's reply and glues the strings together! # We pass in the variable prompt_for_more_info (stores a string) into the input function for the prompt reply = input( prompt_for_more_info ) # reply is reassigned the second user input print() response = 'Oh? I wish we had more time to chat. So long.' # The variable response stores a string! print( response ) # TAKEAWAYS # VARIABLES (assignment and reassignment) # Variables can be updated and updated in terms of current values # input function # Function that displays a prompt and stores the input in the variable assigned to the input # Previous course content like introduction to strings and string concatenation!