Thanks, :) I hinted to it not working with negatives, so if at some point you want it to work with negatives you can do `sorted(set(divisors), key=abs)`, but then sometimes you may get positives sometimes negatives...
I normally make a new list if I'm removing from a list whilst looping through it, it's just a PITA to make it work