Posts by Paulo • 3 points
1 post
-
0
votes2
answers84
viewsQ: how to get the element from a list based on another list
I wanted to remove a doubt I’m having with lists in Python, follow an example below: lista1 = [2, -1 , 4, -5] lista2 = [1, 2, 4, 9] As long as the list element is > 0, I need to take the list…