Write A Python Function To Append A List To The Second List

preview_player
Показать описание
Hello Programmers, Welcome to my channel.

In this video you will learn about how to Write A Python Function To Append A List To The Second List

Python Scripts
======================

Python Functions Solved
==========================

Python Programs Solved
============================

Code
=============================
def extend_list(first, second):

length = int(input("Enter First List Length : "))
list1 = []
for _ in range(length):
temp = int(input("Enter List1 Item : "))

length = int(input("Enter Second List Length : "))
list2 = []
for _ in range(length):
temp = int(input("Enter List2 Item : "))

extend_list(list1, list2)
print("The contents of second list is : ", list2)

Keywords
=============================
#python #python3 #python_assignment #pythonprogramming #pythontutorial #pythonprojects #pythoncourse #pythonbaba #pythonforbeginners #pythonautomation #pythonbasic #pythonbeginners
Рекомендации по теме