Python:Functions

From wiki
Revision as of 21:07, 21 January 2018 by Hdridder (talk | contribs)
Jump to navigation Jump to search

List of all build in functions [1]

len(obj1)
Return the number of elements in obj1 (string, list, tuple, set)
max(obj1)
Return the largest item in obj1
min(obj1)

Return the smallest item in obj1

input([prompt])
Read and return input from standard input. Display 'prompt' first when provided.