''' Purpose: demonstrate string acquisition (the getting of input) ''' # get input reply = input( 'Tell me what is on your mind: ' ) # If you put something in the parenthesis after an input its called a prompt. # Python will print out the prompt and wait for the user to type something and hit enter. # Python doesn't care if you use single or double quotes. print() # The plus symbol can be used to add two strings together. # Since reply is a string after you put in imput you can add reply to this sentence. response = 'That is interesting. Why is -- ' + reply + ' -- on your mind: ' # Can we convert reply into a number? Yup! We will go over it later. #response = 'That is interesting. Why is -- ', reply, ' -- on your mind: ' This prints something different reply = input( response ) print() print( 'Ohhh.' ) # Note: The exit code does not matter. Pycharm just wants to let you know.