I have two lists and I want to create a new one.
For instance
a = ["Street zero", "Street one", "Street two"]
b = [0,1,2]
newlist [0][0] = "Street zero"
newlist [1][1] = "Street one"
newlist [2][2] = "Street two"
How can I achieve this ?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Do you mean
enumerate?Or
zip:(that uses items from
bas indexes)