Convertir un bucle for en un bucle while

Soy nuevo en Python y necesito convertir unfor bucle a unwhile Bucle y no estoy seguro de cómo hacerlo. Esto es con lo que estoy trabajando:

def scrollList(myList):
      negativeIndices = []
      for i in range(0,len(myList)):
            if myList[i] < 0:
                 negativeIndices.append(i)
      return negativeIndices