human
What is a code to print n numbers such that their sum is a perfect square and the other steps required given the following:
Print n numbers such that their sum is a perfect square | Function to print n numbers such that their sum is a perfect square.
Print ith odd number.
Driver code"
Solution in Python:
assistant
#Here is code to print n numbers such that their sum is a perfect square and the other steps required.
 def findNumber ( n ) :
	i = 1
	while i <= n :
		print ( ( 2 * i ) - 1 , end = " ▁ " )
		i += 1
n = 3
findNumber ( n )