Question: I need help with explanations on how this code works wordList = [ two , four, six, eight, ten, twelve, fourteen, sixteen, eighteen,

I need help with explanations on how this code works
wordList =["two", "four", "six", "eight", "ten", "twelve", "fourteen", "sixteen", "eighteen", "twenty"]
def listMatch(listOne, listTwo):
numList =[]
numList = list(range(2,22,2))
def listMatch(listOne, listTwo):
tempList =[]
for i in range(len(listOne)):
tempTuple =(listOne[i],listTwo[i])
tempList.append(tempTuple)
return tempList
finalList = listMatch(numList, wordList)
print(finalList)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!