+ 1

What is the use of empty list in python?

17th Nov 2018, 12:22 AM
PREMMARAN G
PREMMARAN G - avatar
1 Odpowiedź
+ 4
It's very common to initialize an empty list prior to populating it. The items to be added may require a series of events, logic, calculations, or looping iterations to derive the values to add.
17th Nov 2018, 4:55 AM
David Carroll
David Carroll - avatar