About 319,000 results
Open links in new tab
  1. iter () | Python’s Built-in Functions – Real Python

    The built-in iter() function creates an iterator object from an iterable. This function facilitates traversing the elements of a container, such as lists, tuples, dictionaries, and sets, by returning …

  2. Built-in FunctionsPython 3.13.3 documentation

    2 days ago · Return the absolute value of a number. The argument may be an integer, a floating-point number, or an object implementing __abs__(). If the argument is a complex number, its …

  3. Python iter() method - GeeksforGeeks

    Dec 11, 2024 · Python iter() method is a built-in method that allows to create an iterator from an iterable. An iterator is an object that enables us to traverse through a collection of items one …

  4. Python iter() Function - W3Schools

    Built-in Functions. Create an iterator object, and print the items: The iter() function returns an iterator object. Required. An iterable object. Optional. If the object is a callable object the …

  5. Python iter() (With Examples) - Programiz

    The Python iter() function returns an iterator for the given object. In this tutorial, we will learn about the Python iter() in detail with the help of examples.

  6. iter() in Python - Built-In Functions with Examples - Dive Into Python

    The iter() function in Python is a built-in function that returns an iterator object from an iterable. It can be called with one or two arguments, where the first argument is the iterable object and …

  7. Learn Python iter() Function By Practical Examples - Python

    Summary: in this tutorial, you’ll learn how to use the Python iter() built-in function effectively. The iter() function returns an iterator of a given object: The iter() function requires an argument that …

  8. Python | Built-in Functions | iter() | Codecademy

    May 19, 2023 · The iter() function is a built-in function in Python that returns an iterator from an iterable object, such as a list, tuple, string, or any object that implements the iterator protocol. …

  9. Python iter () built-in function - Python Cheatsheet

    Return an iterator object. The first argument is interpreted very differently depending on the presence of the second argument. Without a second argument, object must be a collection …

  10. Python iter() Built-in Function - codebuns.com

    iter(): Built-in function to get an iterator. iterable : Object that supports iteration (e.g., list, tuple, string). callable : A function or other callable object (in the two-argument form).

  11. Some results have been removed