list_1 = ["Hello", 1, "World", 2]
# if you want length of this lins use len() function
print(len(list_1))
# if you want size in bytes
import sys
print(sys.getsizeof(list_1), "Bytes")
>>> [None]*10
[None, None, None, None, None, None, None, None, None, None]
# plz suscribe to my youtube channel -->
# https://www.youtube.com/channel/UC-sfqidn2fKZslHWnm5qe-A
#get length of list
list_example = ["python","ruby","java","javascript","c#","css","html"]
print(len(list_example))
li = [None] * 5 # [None, None, None, None, None]
li = [0] * 5 # [0, 0, 0, 0, 0]
# Get size of list
size = len(list_name)
print('list_xxx : ' + str(len(list_xxx)))