planets=["Mercury","Venus","Earth","Mars","Jupiter","Saturn","Urenus"]
for planet in planets:
print(planet)
del planets[0]
print(planets)
planet=planets.pop()
print(f"{planet} and {planets} and {len(planets)}")

planets=["Mercury","Venus","Earth","Mars","Jupiter","Saturn","Urenus"]
for planet in planets:
print(planet)
del planets[0]
print(planets)
planet=planets.pop()
print(f"{planet} and {planets} and {len(planets)}")

I'm not sure the purpose of this code but for the list to be empty, how about:
planets=["Mercury","Venus","Earth","Mars","Jupiter","Saturn","Urenus"]
while len(planets):
print(planet)
del planets[0]
print(planets)
if len(planets):
planet=planets.pop()
print(f"{planet} and {planets} and {len(planets)}")
which yields:
Jupiter
['Venus', 'Earth', 'Mars', 'Jupiter', 'Saturn', 'Urenus']
Urenus and ['Venus', 'Earth', 'Mars', 'Jupiter', 'Saturn'] and 5
Urenus
['Earth', 'Mars', 'Jupiter', 'Saturn']
Saturn and ['Earth', 'Mars', 'Jupiter'] and 3
Saturn
['Mars', 'Jupiter']
Jupiter and ['Mars'] and 1
Jupiter
[]
Kr.