Python version of the quick sort algorithm code

From , 3 Years ago, written in Python, viewed 228 times.
URL https://pastebin.vip/view/752356ce
  1. def qsort(L):
  2.     return ((qsort([x for x in L[1:] if x < L[0]]) + L[0:1] +
  3.              qsort([x for x in L[1:] if x >= L[0]])
  4.             ) if L
  5.             else [])
  6.  
  7.  
  8.  

Reply to "Python version of the quick sort algorithm code"

Here you can reply to the paste above

captcha

https://burned.cc - Burn After Reading Website