Python way to find length of list

 Python way to find length of list


Code -- 

-------------------------------------

list = ["1", "a", "2", "b"]

print(len(list))

list1 = [""]

Comments

Popular posts from this blog

Single Inheritance, multiple inheritance and multilevel inheritance in python.

Git Commands.

Using class objects, Instance variables, and class variables, class methods and static method in python