title: Executing a function base on a condition
body: <p>I want to execute a function based on a condition. If the <code>sentence</code> variable is set to <code>How are you?</code>, then I want the <code>reply()</code> function to change the value of the <code>response</code> to <code>I am good</code> so the Bot can respond.
  Any help is appreciated.</p>
  
  <pre><code>response = ""
  def reply():
      response = 'I am good'
      return;
  
  sentence = input('You: ')
  
  if sentence == "How are you?":
      reply()
  print('Bot: ' + response)
  </code></pre>