Python language problem

ripley ripleyfu at gmail.com
Thu Jun 8 04:20:44 CEST 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