title: 'method' object is not iterable
body: <p>I am writing my code, and trying to reassign the input variable (<code>YourName</code>) to only include the letters, and to disregard any numbers (if that makes sense) </p>
  
  <pre><code>while YourName == None:
      YourName = (input("But before we begin, what is your name?:")) #The name can be anything.
      YourName = YourName.capitalize()
      YourName = ''.join(filter(str.isalpha(YourName), input))
  </code></pre>
  
  <p>But when I run it comes up with 'method' not iterable. </p>
  
  <p>How do I fix this </p>