human
Find N distinct integers with zero sum | Function to print distinct n numbers such that their sum is 0.
Print 2 symmetric numbers.
Print a extra 0 if N is odd.
Driver code"
How can the above be solved in Python?

Give me a code to find N distinct integers with zero sum and the other steps required?
assistant
#Here is code to find N distinct integers with zero sum and the other steps required.
 def findNumbers ( N ) :
	for i in range ( 1 , N // 2 + 1 ) :
		print ( i , end = ' , ▁ ' )
		print ( - i , end = ' , ▁ ' )
	if N % 2 == 1 :
		print ( 0 , end = ' ' )
if __name__ == ' _ _ main _ _ ' :
	N = 10
	findNumbers ( N )