Write a program to print the length of a list


Topic: Write a program to print the length of a list

Solution

my_list = [1, 2, 3, 4, 5, 6, 7, 8, 9]
print(len(my_list))



List all Python Programs