hito koto <hitokoto2...@gmail.com> Wrote in message:
> 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?
No idea what the question means. Are you just trying to rewrite
the loop in a python implementation where pop is broken?
> i want to change this is code:
> def foo(x):
> y = 
> while x !=:
> return y
Perhaps you're looking for the extend method.