Le 12/06/2014 05:12, hito koto a écrit :
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 !=[]:
     return y
Something like that :

def foo(x):
    return reversed(x)

Vincent V.V.
Oqapy <https://launchpad.net/oqapy> . Qarte <https://launchpad.net/qarte> . PaQager <https://launchpad.net/paqager>

Reply via email to