I'm trying to convert a very basic statement, like this
for i in the_list:
work.append(i)
y = y[1:]
From a for loop, to a while loop. I use code like this a lot and have been trying to learn about different ways to write it, without a for loop.
whileloop.forlooks much more appropriate.