code: 
  
  
  from __future__ import annotations
  
  from random import randrange
  
  
  def 							SCREAMING_SNAKE_CASE					(  _UpperCAmelCase				)    ->  list:
  						if len(_UpperCAmelCase				) < 2:
  												return collection
  						_a     =			randrange(len(_UpperCAmelCase				)				)  # Use random element as pivot
  						_a     =			collection[pivot_index]
  						_a     =			[]  # All elements greater than pivot
  						_a     =			[]  # All elements less than or equal to pivot
  
  						for element in collection[:pivot_index]:
  												(greater if element > pivot else lesser).append(_UpperCAmelCase				)
  
  						for element in collection[pivot_index + 1 :]:
  												(greater if element > pivot else lesser).append(_UpperCAmelCase				)
  
  						return [*quick_sort(_UpperCAmelCase				), pivot, *quick_sort(_UpperCAmelCase				)]
  
  
  if __name__ == "__main__":
  					lowercase_								=    input('Enter numbers separated by a comma:\n').strip()
  					lowercase_								=    [int(item) for item in user_input.split(',')]
  					print(quick_sort(unsorted))
  
  
  
style_context: 
  
  
  from math import pi
  
  
  def 							SCREAMING_SNAKE_CASE					(  _UpperCAmelCase				)    ->  float:
  						return degree / (180 / pi)
  
  
  if __name__ == "__main__":
  		from doctest import testmod
  
  		testmod()
  
  
  