title: Finding which values in a list are smaller/greater than a number
body: <p>I've seen topics similar to this, but after trying out their methods it still didn't fix the part from <strong>if</strong> till the end. From what I read on other topics, the values are mismatched, yet I've been trying to fix it and trying out other methods with no success. Thank you for your help in advance.
  Here's my code:</p>
  
  <pre><code>numbers = []
  
  def calc():
  
      d=0
      m=0
      single_number=int(input("Enter a number: "))
      number = input("Enter a list of numbers: ")
      numbers = [int(i) for i in number.split()]
      summed =sum(numbers, 0)/len(numbers)
      print("Average: ", summed)
      minimum=min(numbers)
      maximum=max(numbers)
      print("Minimum", minimum)
      print("Maximum", maximum)
      if numbers &gt; single_number:
          d=d+1
      else:
          m=m+1
      print("Amount of numbers in the list that are smaller than the 1st entered number:", m)
      print("Amount of numbers in the list that are bigger than the 1st number:", d)
  print(calc())
  </code></pre>