Python list is the most important basic feature of the python programming language. So, it is really a necessary to one person to get a complete understanding of , What is Python list And How to use it’s function while we learn basic programming.
Generally we store one item in one variable however when we use List function we get the opportunity to store multiple items in a single variable. that’s why this is most important basic function to write a python code.
let’s see the difference,
such as we value of fruit APPLE in variable fruit
fruit = “APPLE”
when we type the multiple names of fruits in variable Fruits this is become a list.
Fruits = [“Mango”, “APPLE”, “BANANA”]