Python Tutorial
List In Python

Hello Guy’s In This Article I Will Teach You What is List in Python. Or In Other Word How To Create List In Python.

What is List In Python?

If You Want To Add More Than One Data Into A Single Variable Then You Can Use List In Your Python Project.

How To Initialised List In Python

If You Want To Create List In Your Python Project Then You Must Use Bracket In Your Project.


X = [ ]

Where X Is a Variable And Bracket Are Denoted As List.

For Example:

X = [1,2,3,4,5,6,7,8,9,0]

Y = [“Raj Chourasiya”, “Rajat Sharma”, “Rahul Koshta”]

Here As You Can See That In Our Example, X And Y Are a Variable And Bracket Denote To Symbol Of List And Inside The Bracket Is Your List Of Data.

Thanks For Reading This Article Guy’s.