Write a program to input two lists and create a third list that contains only even ` numbers of the first list followed by even numbers of the second list.`
Answers
Answered by
10
Answer:
hi...
Explanation:
l1=list(input(" enter the 1st list"))
l2=list(input("enter the 2 nd list"))
le=[]
for i in l1:
if i%2==0:
le.append(i)
for j in l2:
if j %2==0:
le.append(j)
print(le)
hope it helps you ☺️
Similar questions
English,
4 months ago
Geography,
4 months ago
Chemistry,
4 months ago
Physics,
9 months ago
Political Science,
1 year ago