Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
def main():
lista =[1, 4, 5 , 5, 6 , 3 ,1]
a= [(lambda x: lista.insert(x,0) ) (idx) for idx, v in enumerate(lista) if v == 5]
if __name__ == '__main__':
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.