+ 5
What is the output of this code? #Question declined due to community downvotes.
What is the output of this code? A = [1,5,5,5,3] for elem in A: if elem == 5: A.remove(5) print (elem)
5 Respuestas
+ 4
Sorry forgot to place the options..
* [1, 5, 3]
* [1, 3]
* [1, 5, 5]
* Error
+ 1
Thanks @Caleb Jore
0
la salida seria
5
5
los elementos que remueve y que entran en el if.