count = 0
for i in range(len(mas)):
if mas[i] < 0:
mas.insert(count, mas.pop(i))
count += 1
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
count = 0
for i in range(len(mas)):
if mas[i] < 0:
mas.insert(count, mas.pop(i))
count += 1