About 505,000 results
Open links in new tab
  1. Python - max () function - GeeksforGeeks

    Jul 15, 2025 · Unlike the max () function of C/C++, the max () function in Python can take any type of object and return the largest among them. In the case of strings, it returns the …

  2. Python max () Function - W3Schools

    The max() function returns the item with the highest value, or the item with the highest value in an iterable. If the values are strings, an alphabetically comparison is done.

  3. max () | Python’s Built-in Functions – Real Python

    In this tutorial, you'll learn how to use Python's built-in min () and max () functions to find the smallest and largest values. You'll also learn how to modify their standard behavior by …

  4. math — Mathematical functions — Python 3.14.2 documentation

    1 day ago · This module provides access to common mathematical functions and constants, including those defined by the C standard. These functions cannot be used with complex …

  5. The Python max () Method - AskPython

    Mar 28, 2020 · When two or more values are passed to the max() method, it returns the maximum or largest of them all. These arguments can be integers, floating-point values, characters or …

  6. How to Find the Maximum Value in Python Using the max () …

    Jan 1, 2025 · Learn how to find the maximum value in Python using the `max ()` function. This tutorial covers its usage with lists, tuples, dictionaries, and more, with examples

  7. Python max Function - Complete Guide - ZetCode

    Apr 11, 2025 · This comprehensive guide explores Python's max function, which returns the largest item in an iterable or among arguments. We'll cover numbers, strings, custom objects, …

  8. Python max (): Get the Largest Value from an Iterable

    The max() function returns the highest value from a list, tuple, set, or any iterable. It’s useful for finding the largest number, longest string, or highest-scoring item in a dataset.

  9. Python max Function - Tutorial Gateway

    The Python max function is used to find the maximum item of a given object. Or, say, the max function returns the highest, largest, or biggest items in a given object.

  10. max () Builtin Function - Python Examples

    Python max () built-in function is used to find the maximum of a given iterable or, two or more arguments. In this tutorial, you will learn the syntax of max () function, and then its usage with …