List Question

Bruno Desthuilliers bruno.42.desthuilliers at wtf.websiteburo.oops.com
Wed Oct 3 02:49:37 EDT 2007


brad a écrit :
> How is this expressed in Python?
> 
> If x is in y more than three times:
>     print x
> 
> y is a Python list.


if y.count(x) > 3:
   print x



More information about the Python-list mailing list