title: Removing objects from a list in python, Attribute error
body: <p>I'm pretty much a complete beginner to python, and i'm having problems removing an integer from a list. I'm getting a error, AttributeError: 'int' object has no attribute 'remove', and i don't know how to fix it. This is probably really easy to experienced eyes, and I have looked at past answers but keep returning same error</p>
  
  <pre><code>repeat = 0  
  while repeat &lt;= 4:  
      question_list = [1,2,3,4,5]  
      number = random.choice(question_list)  
      if number == 1:  
          print(question1())  
          repeat = repeat + 1  
          number.remove(1)  
      elif number == 2:  
          print(question2())
          repeat = repeat + 1
          number.remove(2)
      elif number == 3:
          print(question3())
          repeat = repeat + 1
          number.remove(3)
      elif number == 4:
          print(question4())
          repeat = repeat + 1
          number.remove(4)
      elif number == 5:
          print(question5())
          repeat = repeat + 1
          number.remove(5)
  </code></pre>