Skip to main content

User account menu

Show — User account menu Hide — User account menu
  • Log in
Scalingbits
Make the Internet scale

Primary links

Show — Primary links Hide — Primary links
  • Impressum (Imprint)
  • Privacy Policy
  • about

Breadcrumb

  1. Home
  2. Python

Numeric Functions

Examples

>>> print(min(1, 2, 3, 4))
1
>>> print(max(1, 2, 3, 4))
4
>>> print(sum([1, 2, 3, 4]))
10
>>> print(max([1, 2, 3, 4]))
4
>>> print(abs(-3))
3
  • Printer-friendly version
  • Log in to post comments
  • 33 views

Book traversal links for Numeric Functions

  • ‹ Loops and Branches (Cheat Sheet)
  • Up
  • Strings (Cheat Sheet) ›

Search

LocalNavigation

Show — LocalNavigation Hide — LocalNavigation
  • Blogs
  • Drupal
  • MySQL
  • Internetauftritte in Deutschland
  • tracking (SEO)
  • AWS
  • Java
  • Solaris
  • Dictionaries (Cheat Sheet)
  • Exceptions and their handling (Cheat Sheet)
  • Function and Modules (Cheat Sheet)
  • Functional Programming
  • Lists and Ranges (Cheat Sheet)
  • Loops and Branches (Cheat Sheet)
  • Numeric Functions
  • Strings (Cheat Sheet)
  • Tuples (Cheat Sheet)
  • Working with Files (Cheat Sheet)

Main navigation

Show — Main navigation Hide — Main navigation
  • Home

Today's:

  • 8.2 Vererbung in Java
  • 10.6 Übungen (Ausnahmen)
  • 11.3 Dokumentieren von Javaprogrammen (javadoc)
  • 5. Konzepte objektorientierter Programmierung
  • 5.2.3 Konstruktoren (2)

Last viewed:

  • Solaris 11 Changes: Where is /usr/ucb/whoami ?
  • 5.2.3 Konstruktoren (2)
  • 1.7 Variablen und Zuweisungen
  • Überblick Java Collections
  • Sequentielle Suche (lineare Suche)