Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Slicing solution in Clear category for Replace First by rossras
from typing import Iterable
def replace_first(items: list) -> Iterable:
return items[1:] + items[:1]
Jan. 30, 2020