### min()

Definition
The built in function returns the min() value in iterable.

Syntax
min(x)

Parameters
x=iterable

Examples
The returns are:
 >>> x={221,3,5,6,722,111}>>> min(x)3>>> x=[46,32,33,30]>>> min(x)30>>>

map()
The map() function is used to find min() value in tuple().
 iterable1=(55,458,572,101)min_value=min(map(lambda a: a, iterable1))print(min_value)>>> 55>>>

min(tuple)
Return with the minimum value in the tuple.
 tuple1=(44,22,13,22,45,555,32,33)y=min(tuple1)print("Minimum item in tuple1 is: ", y)>>> Minimum item in tuple1 is: 13>>>

if min(map(lambda(decimal,decimal)).__gt__()
The method returns with the minimum value in the sets equation set1/set2*set2 is greater than 2.
 set1={Decimal(-1355).adjusted(),Decimal(-233.321).copy_negate(), Decimal(-23.99).exp()}set2={ Decimal(2.0).fma(3,7),Decimal(1.1).log10()}if min(map(lambda a,b: a/b*b, set1, set2)).__gt__(2):        print("Return is greater than 2.")else:        print("Not within parameters")>>> Return is greater than 2.>>>

min(tuple)
Return with maximum and minimum degrees values:
 import mathimport operatora=math.degrees(33)b=math.degrees(22)c=math.degrees(34)d=math.degrees(13.1)e=math.degrees(120)tuple=(a,b,c,d,e)g=min(tuple)h=max(tuple)if operator.truth(abs(g-h)>90):    print("Minimum degrees value is: ", g)    print("Maximum degrees value is: ", h)    print("The difference between minimum and maximum degrees is less 90 Degrees which is: ", abs(g-h))else:    print("The difference between minimum and maximum degrees is less 90 Degree which is: ", abs(g-h))>>> Minimum degrees value is:  750.5747116213784Maximum degrees value is:  6875.493541569878The difference between minimum and maximum degrees is less 90 Degree which is:  6124.9188299484995>>>

min(set(Decimal()))

The returns are following:
 from decimal import Decimalimport itertoolsset1={Decimal(0.1).to_integral_value(),Decimal(1.9).to_integral_exact(),                        Decimal(1.5000001).to_integral(), Decimal(10).shift(2)}set2={Decimal(1).scaleb(0),Decimal(1).remainder_near(2),Decimal(1.0000).normalize()}print("The decimal values of set1 are:", set1)print("The decimal values of set2 are: ", set2)max_set1=int(max({Decimal(0.1).to_integral_value(),Decimal(1.9).to_integral_exact(),Decimal(1.5000001).to_integral(), Decimal(10).shift(2)}))print("The maximum integer value in set1 is: ",max_set1)min_set2=int(min({Decimal(1).scaleb(0),Decimal(1).remainder_near(2),Decimal(1.0000).normalize()}))print("The minimum integer value in set2 is:",min_set2)set3=max_set1.__add__(min_set2)print("The set1 added by set2 is: ", set3) set4=max_set1.__lt__(min_set2)print("The max_set1 is lessor than min_set2:", set4)x=set1.difference(set2)rint("The set1 difference to set2 is :", x)>>> The decimal values of set1 are: {Decimal('1000'), Decimal('0'), Decimal('2')}The decimal values of set2 are: {Decimal('1')}The maximum integer value in set1 is: 1000The minimum integer value in set2 is: 1The set1 added by set2 is: 1001The max_set1 is lessor than min_set2: FalseThe set1 difference to set2 is : {Decimal('1000'), Decimal('0'), Decimal('2')}>>>