empty list

40

# Python program to declare
# empty list
  
# list is declared
a = []         
  
print("Values of a:", a)
print("Type of a:", type(a))
print("Size of a:", len(a))
>>> num = []
>>> len(num)
0

Comments

Submit
0 Comments