example:
numbers = [100, 34, 678]
len(numbers)
3
max(numbers)
678
min(numbers)
34
max(2,3)
3
min(2,3)
Len function returns either the highest or lowest values in a sequence (the first two examples) or directly as a sequence argument (the last two examples).
No comments:
Post a Comment