human
Program to find the minimum ( or maximum ) element of an array | Python3 program to find minimum ( or maximum ) element in an array ..
Driver Code"
Solution in Python:
assistant
#Here is code to program to find the minimum ( or maximum ) element of an array and the other steps required.
 def getMin ( arr , n ) :
	return min ( arr )
def getMax ( arr , n ) :
	return max ( arr )
if __name__ == ' _ _ main _ _ ' :
	arr = [ 12 , 1234 , 45 , 67 , 1 ]
	n = len ( arr )
	print ( " Minimum ▁ element ▁ of ▁ array : ▁ " , getMin ( arr , n ) )
	print ( " Maximum ▁ element ▁ of ▁ array : ▁ " , getMax ( arr , n ) )