problem with for and if

Shiyao Ma i at introo.me
Mon Jan 5 09:57:34 EST 2015


On Jan 05 at 22:38 +0800, Shiyao Ma wrote:

> More preferably, you should repetitively use "str.find"
>
> Or just use `max(0,len(zmienna.split(szukana))-1)`

Forgot there was a `str.count`, ;).

-- 
Shiyao Ma
http://introo.me



More information about the Python-list mailing list