Abhiram: Write a program to move all negative numbers to beginning and positive to end with constant extra space

def order(a):
a.sort()
for i in a:
print(i,end=" ")
order([-7,8,5,2,-100,250,-4])

1 Like

Good one @A_Abhiram . Keep it up

@A_Abhiram

Correct, keep it up.
Practice more