I am struggling to find a good way to convert this for loop code to a working set of while loops. Any suggestions?
def addIfNotDivisible(byN, listOfNumbers):