Write A Python Program To Triple All Numbers Of A Given List Of Integers. Use Python Map
Hello Programmers, Welcome to my channel.
In this video you will learn about how to Write A Python Program To Triple All Numbers Of A Given List Of Integers. Use Python Map
Code
=============================
triple = lambda x: x * 3
length = int(input("Enter List Length : "))
list1 = []
for _ in range(length):
temp = int(input("Enter List Item : "))
list1.append(temp)
list2 = list(map(triple, list1))
print("Original List is : ", list1)
print("Triple of Given List is :", list2)
Keywords
=============================
#python #python3 #python_assignment #pythonprogramming #pythontutorial #pythonprojects #pythoncourse #pythonbaba #pythonforbeginners #pythonautomation #pythonbasic #pythonbeginners
Видео Write A Python Program To Triple All Numbers Of A Given List Of Integers. Use Python Map автора Молодые питонисты-разработчики
Видео Write A Python Program To Triple All Numbers Of A Given List Of Integers. Use Python Map автора Молодые питонисты-разработчики
Информация
2 декабря 2023 г. 22:23:16
00:06:53
Похожие видео