how to create a list in python 🐍 program | list in python example

Опубликовано: 23 Февраль 2026
на канале: Data with Vedant
118
3

This video is showing how to make list in python 3, python list example program executed on Google colab using an android. You can easily make a list in Jupyter notebook by following steps given in above video. List in python is a mutable collection of elements.

Below is the syntax I've used to create a python list for above video, you can use same syntax to create list in any Python Notebook like Databricks, Jupyter or Kaggle.

• Python syntax to create a list

list_1 = ["A", "B", "C"]
list_1

What makes list different from tuple?
The answer is when you create a python tuple, you use pair of round braces "( )" to hold the collection of various elements of tuple, also once a tuple created you cannot modify a tuple, it is immutable. There is no such operation in python that enable you to change a tuple content. However, you can modify a list.

Alternatively, when you write a python program for list, you use pair of square braces "[ ]" to hold the collection of various elements of list, also once a list is created you can modify it, can make insertions and update elements by accessing specific element with reference of its index.