human
Generate a unique Array of length N with sum of all subarrays divisible by N | Function to print the required array.
Print Array.
Driver code"
Solution in Python:
 Write me a code to generate a unique Array of length N with sum of all subarrays divisible by N and the other steps required?
assistant
#Here is code to generate a unique Array of length N with sum of all subarrays divisible by N and the other steps required.
 def makeArray ( n ) :
	for i in range ( n ) :
		print ( ( i + 1 ) * n , end = " ▁ " )
n = 6 ;
makeArray ( n ) ;