Python Tanks - Variation of the first puzzle

Similar puzzle!

Again we want to collect all the stars, but this time simply turning right after picking the star is not going to work.
Could you see solution?

Prev
#for loop again to collect 9 stars for i in range(9): #add code here print('Got another star')