<reponame>jaiswalIT02/pythonprograms

x1=range(1,11)
print (x1)
for item in x1:
    if item % 2==0:
        print(item)
    else:
        print(-item)
 
        

x1=range(1,11)
print (x1)
for item in x1:
    if item % 2==0:
        print(item)
    else:
        print(-item)