- #1
Sarah rob
- 16
- 0
I want to create an If statment that states; if the elements in, list1>0 , true subtract list2, false keep value from list1 so that i
end up with ans: {0,2,5,4}
list1 = {0, 2, 8, 9}
list2 = {1, 0, 3, 5}
I dont know how to represent the elements in the lists so that my If statment works
end up with ans: {0,2,5,4}
list1 = {0, 2, 8, 9}
list2 = {1, 0, 3, 5}
I dont know how to represent the elements in the lists so that my If statment works