title: Python - checking if a string starts with "Yes" or "No"?
body: <p>I want to make a function which checks whether a string starts with "Yes" or "No" but I'm not sure how.</p>
  
  <pre><code>If string begins with "Yes"
  return "Yes"
  </code></pre>