Author: codertutor_3o6d0o

Python Int

Int function The int() function return an integer value or return 0 value if no arguments are given. Examples Example 1 >>> int() 0 >>> x = int() >>> x 0 >>> y = int(3) >>> y 3 >>> Example 2...

Python Len

Len function The len() function return the length of a sequence (string, tuple, list, range) or a collection (dictionary, set). Examples Example 1 >>> x = "abc, de, fgh" >>> len(x) 12 >>> y = '12345' >>> len(y) 5 >>> Example...

Python List

List function The list() function return the elements of a list, tuple, dictionary, set or string. Examples Example 1 >>> x = 1, 23, 'tuple' >>> list(x) [1, 23, 'tuple'] >>> y = ['c', 'list', 5, 8] >>> list(y) ['c', 'list',...

Python MAX

Max function The max() function return the maximum number in an iterable or the maximum number of two or more arguments. Examples Example 1 >>> max(5,7) 7 >>> max('5', '3', '8') '8' >>> x = 3 >>> y = 10 >>>...

Python MIN

Min function The min() function return the minimum number in an iterable or the minimum number of two or more arguments. Examples Example 1 >>> min(2,3) 2 >>> min('7', '3', '8') '3' >>> x = 12 >>> y = 15 >>>...