a='a abc ccc cvv v'
b=a.split()
c=[]
for i in b:
if len(i)>=3 and len(i)<=5:
c.append(i)
b.remove(i)
a='a abc ccc cvv v'
b=a.split()
c=[]
for i in b[::-1]:
if len(i)>=3 and len(i)<=5:
c.append(i)
b.remove(i)
print ( c)
print (b)
['cvv', 'ccc', 'abc']
['a', 'v']
c.reverse()
print ( c)
['cvv', 'ccc', 'abc']