Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Replace First by Teja_002
def replace_first(lst):
if len(lst) == 0:
return lst
lst.append(lst.pop(0))
return lst
Feb. 24, 2021
Comments: