list item number python code example Example: get list number python my_list = [1,"hello world", 16.2] len(my_list) 3