def create_list_center_zero(n):
if n % 2 == 0:
# If n is even, make it odd to add zero inthe center
n += 1
half = n // 2
lst = list(range(-half, half + 1))
return lst
print(create_list_center_zero(10))
'''
run:
[-5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5]
'''