''' Purpose: demonstrate string acquisition (the getting of input) ''' # get input reply = input( 'Please provide text: ' ) print( 'Your reply was: ', reply ) # The user input was stored in reply and when # we print the reply, it will print what the user # originally typed! print() # get more input # Notice how we wrote reply = input( a different prompt ) # again! # !!! So we asked for user input again and now we replace the # value of reply which stored the first user input and we # now store the second user input in reply! # !!! You can reuse variables and reassign them/modify their values # but the old value is lost! So we lost the first reply and # stored the second user input in reply. reply = input( 'Please provide more text: ' ) print( 'Your new reply was:', reply ) # In this class example, we take a look at # input and reassigning variable values.