

from __future__ import annotations

from random import choice






def    SCREAMING_SNAKE_CASE__       (  lowerCamelCase__			)  ->     List[str]:
	return choice(lowerCamelCase__			)






def    SCREAMING_SNAKE_CASE__       (  lowerCamelCase__	, lowerCamelCase__			)  ->     int:
	__lowerCamelCase				:				Any					       = random_pivot(lowerCamelCase__			)

	# partition based on pivot
	# linear time
	__lowerCamelCase				:				int					       = [e for e in lst if e < pivot]
	__lowerCamelCase				:				List[Any]					       = [e for e in lst if e > pivot]

	# if we get lucky, pivot might be the element we want.
	# we can easily see this:
	# small (elements smaller than k)
	# + pivot (kth element)
	# + big (elements larger than k)
	if len(lowerCamelCase__			) == k - 1:
		return pivot
	# pivot is in elements bigger than k
	elif len(lowerCamelCase__			) < k - 1:
		return kth_number(lowerCamelCase__	, k - len(lowerCamelCase__			) - 1			)
	# pivot is in elements smaller than k
	else:
		return kth_number(lowerCamelCase__	, lowerCamelCase__			)


if __name__ == "__main__":
					import doctest

					doctest.testmod()






import pprint

import requests

UpperCAmelCase	      = '''https://zenquotes.io/api'''






def 							UpperCAmelCase_		(							):
	return requests.get(API_ENDPOINT_URL + '/today'							).json()






def 							UpperCAmelCase_		(							):
	return requests.get(API_ENDPOINT_URL + '/random'							).json()


if __name__ == "__main__":
	UpperCAmelCase	      = random_quotes()
	pprint.pprint(response)

