# Creating a List
List1 = []
print(len(List1))
# Creating a List of mixed values
List2 = ["Softhunt", ".net", 14]
print(len(List2))
# Creating a List of numbers
List3 = [10, 20, 14, 31, 3]
print(len(List3))
#a list
cars = ['Ford', 'Volvo', 'BMW', 'Tesla']
#some updates on list
cars.append('Honda')
cars.append('Tata')
#find length of list
length = len(cars)
print('Length of the list is :', length)
6
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")
# 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))