Creating And Viewing List In Python

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
  1. print("WElcome To C#Corner........")  
  2. print("Creating & Viewing a List :")  
  3.   
  4. courses=["c","c++","IOT","Python","Java"]  
  5. print("Zero Element : %s" % courses[0])  
  6. print("1st Element : %s" % courses[1])  
  7. print("2nd Element : %s" % courses[2])  
  8. print("3rd Element : %s" % courses[3])  
  9. 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
 
Output