Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
The last plus everything else until the last solution in Clear category for Replace Last by samatdav02
def replace_last(line):
return [line[-1]] + line[:-1] if len(line) > 1 else line
Nov. 17, 2022
Comments: