human
Check if array can be converted into strictly decreasing sequence | Function to check that array can be converted into a strictly decreasing sequence.
Loop to check that each element is greater than the ( N - index ).
If element is less than ( N - index ).
If array can be converted.
Driver Code.
Function calling"
How can the above be solved in Python?

=====
Give me a code to check if array can be converted into strictly decreasing sequence and the other steps required?
assistant
#Here is code to check if array can be converted into strictly decreasing sequence and the other steps required.
 def check ( arr , n ) :
	flag = True ;
	for i in range ( n ) :
		if ( arr [ i ] < n - i ) :
			flag = False ;
	if ( flag ) :
		return True ;
	else :
		return False ;
if __name__ == ' _ _ main _ _ ' :
	arr1 = [ 11 , 11 , 11 , 11 ] ;
	n1 = len ( arr1 ) ;
	if ( check ( arr1 , n1 ) ) :
		print ( " Yes " ) ;
	else :
		print ( " No " ) ;