H
hito koto
Hello,all
I'm first time,
I want to make a while statement which can function the same x.pop () and without the use of popã€how can i to do?
i want to change this is code:
def foo(x):
y = []
while x !=[]:
y.append(x.pop())
return y
I'm first time,
I want to make a while statement which can function the same x.pop () and without the use of popã€how can i to do?
i want to change this is code:
def foo(x):
y = []
while x !=[]:
y.append(x.pop())
return y