Posts by helloworld • 51 points
1 post
-
5
votes2
answers110
viewsQ: Why is the output coming out like that?
I’m trying to make a program in which I use a list and this program returns 2 lists with pairs other with the odd. lista = [0,1,2,3,4,5,6,7,8,9,10] def par(numero): if numero % 2 == 0: return numero…