I’m a bit new to python.
how do i merge two lists (both strings) and join them accordingly in python?
Given the following input:
lista=['1','2','3']
listb=['a','b','c']
I would like the following output:
['1|a','2|b','3|c']
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.
Assuming you actually meant to use strings, this should work: