Posts by elivelton galdino • 1 point
1 post
-
0
votes3
answers252
viewsA: Number of odd numbers
You can change the function to add odd numbers to your list, and at the end of the iteration return the list size: for i in lista: if i % 2 !=0: print(i) impar.append(i) return…
pythonanswered elivelton galdino 1