Python language problem

ripley ripleyfu at gmail.com
Wed Jun 7 22:20:44 EDT 2006


Thanks all, you all are nice man.

Dennis Lee Bieber 写道:


> 	while len(lst):	#list is a built-in function, don't use as a name
> 		del lst[0]	#delete the first item IN the lst
> 

I found Dennis 's code is usefull that is a way to solve my problem.




More information about the Python-list mailing list