What is the use of empty list in python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is the use of empty list in python?

23rd Sep 2017, 3:02 PM
HARSHIL
HARSHIL - avatar
2 Answers
+ 5
If you ask at the top, empty list are used to initialise the variable as a list.
23rd Sep 2017, 4:22 PM
Sathish Kumar
Sathish Kumar - avatar
- 1
If you ask at the top, empty list are used to initialise the variable as a list.
9th Dec 2017, 3:27 PM
Nikita Gurdhalkar