Introduction
In this blog I am going to explain about growing the appending sequence in Python. The output will be displayed in the Run Window.
Software Requirement
Python3.5.6
Simple Programming
- print("Welcome To C#Corner........")
- print("Appending list :")
- text1=("c#","Corner")
- print("Text 1 :")
- print(text1)
- text2=("techonology","Python")
- print("Text 2 :")
- print(text2)
- text_append=[]
- text_append.append(text1)
- text_append.append(text2)
- print("Append List:")
- print(text_append)
-
- text_extend=[]
- text_extend.extend(text1)
- text_extend.extend(text2)
- print("extend List:")
- print(text_extend)
Explanation
In this blog I will display growing the appending sequence In Python. The output will be shown in the Run window.
Output