Python string find() examples

ساخت وبلاگ
I'm looking for examples, but I'm not finding any.
Are there any examples on the inteet? I'd like to know what it retus when it can't find something, as well as how to specify the starting and ending points, which I assume will be 0, -1.
>>> x = "Hello World"
>>> x.find('World')
6
>>> x.find('Aloha');
-1
Code (markup):
Could you please help me? But I'm not convinced. WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 200 تاريخ : چهارشنبه 27 مهر 1401 ساعت: 2:49