Cambiar cada elemento de la lista de Python con el mapa
bonuses = [100, 200, 300]
iterator = map(lambda bonus: bonus*2, bonuses)
Code language: Python (python)
Wrong Willet
bonuses = [100, 200, 300]
iterator = map(lambda bonus: bonus*2, bonuses)
Code language: Python (python)