Beginner here but I have an important question.
s1 = [1,2,3,4,5]
s2 = [6,7,8,9,0]
for x in s1:
y = [len(s2), x]
y
Take this code for example. It returns [5,5]. However, in the background, it loops through [5,1], [5,2], etc. until it reaches [5,5].
Question: How do I make it return
[[5,1],[5,2],[5,3],[5,4],[5,5]]
exactly like that??