human
Minimum steps required to reduce all the elements of the array to zero | Function to return the minimum steps required to reduce all the elements to 0.
Maximum element from the array.
Driver code"
How can the above be solved in Python?

Write me a code to minimum steps required to reduce all the elements of the array to zero and the other steps required?
assistant
#Here is code to minimum steps required to reduce all the elements of the array to zero and the other steps required.
 def minSteps ( arr , n ) :
	maxVal = max ( arr )
	return maxVal
arr = [ 1 , 2 , 4 ]
n = len ( arr )
print ( minSteps ( arr , n ) )