Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Replace Last by ssk8
def replace_last(line: list) -> list:
if line:
line.insert(0, line.pop())
return line
Feb. 24, 2021
Comments: