title: How to access a value in a list and use it with python in this case?
body: <p>For example I have a list and the user will input interger values,
  And I want to use this numbers if they are bigger than another number so I can do operations with the specific number.Here's what I tried:</p>
  
  <pre><code>list=[]
  NUM=10
  summ=0
  count10=0
  for i in range(NUM):
      list.append(int(input("Type a number: ")))  
      if list&gt;10:
          count10+=1
          summ=summ+list  #(when number bigger than ten for     example)
          m=summ/count10
      print(m)
  </code></pre>