import sys
MAX_INT = sys.maxsize
print(MAX_INT)
''' NOTE: value of sys.maxsize is depend on the fact that how much bit a machine is. '''
import sys
MAX_INT = sys.maxsize - 1
# Python 2 Max Int
import sys
print(sys.maxint)
print (type(sys.maxint))
max_int = pow(2, 31)-1
min_int = pow(-2, 31)
# Python 2 Max Int
import sys
print(sys.maxint)
print (type(sys.maxint))
# Python 2 Max Int
import sys
print(sys.maxint)
print (type(sys.maxint))
#min and max in python
L1 = eval(input('enter list:'))#eval() helps inputting by user desires of list.
minimum=min(L1)#min() function helps to note smallest of the element.
print('minimum numeric',minimum)
maximum=max(L1)#max() function helps to note biggest of the element.
print('maximum numeric',maximum)
#output
enter list:[4,-8,65,24.0,24,7.25]
minimum numeric -8
maximum numeric 65
# Python 2 Max Int
import sys
print(sys.maxint)
print (type(sys.maxint))
# Python 2 Max Int
import sys
print(sys.maxint)
print (type(sys.maxint))
# Python 2 Max Int
import sys
print(sys.maxint)
print (type(sys.maxint))
def min_max(*n):
return {"min":min(n),"max":max(n)}
print(min_max(-10,1,2,3,45))