Title Construir una función que devuelva una lista de restos (módulos) del valor de entrada
Catalog Type SLCItem
Persistent ID https://acos.cs.vt.edu/html/jsparsons/jsparsons-python/ps_python_list_of_remainders1_es
Platform Name jsParsons
Features
Description Construye una funcion que calcule el residuo de cada elemento de la primera lista con el elemento del mismo indice en la segunda lista. Los residuos se almacenan en una nueva lista. Si el numero en la segunda lista es 0, la funcion debe agregar directamente el numero 2 a la nueva lista en lugar del residuo.
Keywords
Author Kamil Akhuseyinoglu
Institution University of Pittsburgh
Iframe URL https://acos.cs.vt.edu/html/jsparsons/jsparsons-python/ps_python_list_of_remainders1_es
Protocol SPLICE
Protocol URL
License MIT
Programming Language Python
Natural Language es

Preview

SPLICE Output