Introduction
In this blog, I will explain about creating and viewing the list in Python. The list will be displayed in the Run Window.
Software Requirement
Python3.5.2.
Simple programming
- print("WElcome To C#Corner........")
- print("Creating & Viewing a List :")
-
- courses=["c","c++","IOT","Python","Java"]
- print("Zero Element : %s" % courses[0])
- print("1st Element : %s" % courses[1])
- print("2nd Element : %s" % courses[2])
- print("3rd Element : %s" % courses[3])
- print("4th Element : %s" % courses[4])
Explanation
In this blog, I will create the list and it will be displayed in the Run Window in order.
Output