- first_list = [1,2,3,4,5,6,7,8,9]
- second_list = [10,11,12,13,14,15,16,17,18,19]
- final_list = []
- for x in first_list:
- if x % 2 != 0:
- final_list.append(x)
- for y in second_list:
- if y % 2 == 0:
- final_list.append(y)
- print(final_list)
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sagar LadPosted Aug 19, 2021, 2:37 PM
Rajanikant HawaldarPosted Nov 5, 2020, 8:16 AM
Salman BegPosted Nov 5, 2020, 7:45 AM