About 5,300 results
Open links in new tab
  1. 5. Data Structures — Python 3.14.2 documentation

    2 days ago · Performing list(d) on a dictionary returns a list of all the keys used in the dictionary, in insertion order (if you want it sorted, just use sorted(d) instead).

  2. Python list () Function - W3Schools

    Definition and Usage The list() function creates a list object. A list object is a collection which is ordered and changeable. Read more about list in the chapter: Python Lists.

  3. Python list () Function - GeeksforGeeks

    Mar 4, 2025 · list () function in Python is used to create lists from iterable objects. An iterable is an object that can be looped over, such as strings, tuples, sets, dictionaries and other collections.

  4. Python List (With Examples) - Programiz

    In Python, lists allow us to store multiple items in a single variable. For example, if you need to store the ages of all the students in a class, you can do this task using a list. Lists are similar to arrays …

  5. Python list Function - Complete Guide - ZetCode

    Apr 11, 2025 · Complete guide to Python's list function covering creation, conversion, and practical examples of list operations.

  6. Python list () Function - Online Tutorials Library

    Following is the syntax of Python list () function −. This function accepts any iterable object like a string, tuple, set, or another list as a parameter. This function returns a new list object with the elements …

  7. Python List Functions - Tutorial Gateway

    In Python programming language, we have different kinds of list functions or methods that can add, remove, sort, and reverse items. In this section, we explain to you the available list functions with an …

  8. Built-in List Functions in Python - tutorialsrack.com

    Lists are one of the most versatile and widely used data structures in Python. They allow you to store multiple items in a single variable, and Python provides numerous built-in functions for managing lists …

  9. Python List of Functions: A Comprehensive Guide - CodeRivers

    Mar 18, 2025 · This blog aims to provide a comprehensive understanding of Python list functions, and readers are encouraged to practice these concepts in their own projects to gain more proficiency.

  10. Lists and Functions in Python - Data Science Discovery

    In addition to DataFrames, there are two foundational Python principles important to Data Sciences: A Python list and Python functions. A list is a built-in data structure in Python, meaning we do not need …