+ 1

What is the use of empty lists in python?

empty_list [] print (empty_list)

2nd May 2017, 1:01 PM
Heerak Ghanesh (HERO)
Heerak Ghanesh (HERO) - avatar
3 ответов
+ 2
you can append to them later: empty_list.append(3) for example
2nd May 2017, 1:03 PM
Saeed Tafazzol
Saeed Tafazzol - avatar
0
you can append the items when you needed
2nd May 2017, 1:04 PM
Mayur Chaudhari
Mayur Chaudhari - avatar
0
when you need a list before be add values.
4th Jun 2017, 4:13 PM
Celso Vicente
Celso Vicente - avatar