title: Trouble understanding what is included when using "greater than or equal to" (>=)
body: <p>I need to write a quicksort function for my course.
  One possible solution given afterwards was this:</p>
  
  <pre><code>def quicksort(s):
      if len(s) &lt;= 1:
          return s
      else:
          return quicksort([x for x in s[1:] if x &lt; s[0]]) \
          +[s[0]] \
          + quicksort([y for y in s[1:] if y &gt;= s[0]])
  
  
  list = [5, 6, 8, 2, 7, 1] #any numbers you want
  print(quicksort(list))
  </code></pre>
  
  <p>Why is the <code>+[s[0]]</code> needed? isn´t it already included in <code>y &gt;= s[0]</code>?</p>