title: isdigit not working for me
body: <pre><code>def listMaker(a, b):
      if b.isdigit() == False:
           print("Sorry is not a valid input")
      else:
           newList = [a] * b
           return newList
  </code></pre>
  
  <p>I am getting the error:</p>
  
  <pre><code>AttributeError: 'int' object has no attribute 'isdigit'
  </code></pre>
  
  <p>How would I fix this?</p>