About 174,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. Python's min () and max (): Find Smallest and Largest Values

    Jan 18, 2025 · Python’s built-in functions max() and min() allow you to find the largest and smallest values in a dataset. You can use them with iterables, such as lists or tuples, or a …

  4. 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

  5. Python max () - Programiz

    max () Return Value max() returns the largest argument among the multiple arguments passed to it.

  6. 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, …

  7. max — Python Function Reference

    A comprehensive guide to Python functions, with examples. Find out how the max function works in Python. Return the largest item in an iterable or the largest of two or more arguments.

  8. 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 …

  9. max () in Python - Built-In Functions with Examples

    The max() function in Python is a built-in function that returns the highest value among the arguments passed to it. It can take multiple arguments or an iterable (such as a list, tuple, or …

  10. Mastering the `max` Function in Python - CodeRivers

    Apr 1, 2025 · The max function in Python is designed to return the largest item from an iterable (such as a list, tuple, or set) or the largest of two or more specified arguments.