problem with for and if

Shiyao Ma i at introo.me
Mon Jan 5 15:57:34 CET 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