Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
1line solution in Clear category for Replace First by wooilkim
def replace_first(items: list):
return items[1:] + [items[0]] if items else items
May 25, 2021