Python, all possible combinations of numbers betweens 2 lists
i'm new to python and i would like some guidance with a problem i'm having.
Let's say you have two lists, with same length and filled with numbers
x=[0,1,2,3]
y=[0,4,5,6]
How can Python calculate the numbers between the numbers in the list at
the same position. So for this example.
[0,1,2,3]
[0,2,2,3]
[0,3,2,3]
[0,4,2,3]
[0,1,3,3]
...
I hoped someone with more experience would have some insight in this
matter. Thank you for your time and thoughts.
No comments:
Post a Comment