Examples for string ****() in Python

  • Konbuyu başlatan Admin
  • Başlangıç tarihi
A

Admin

Yönetici
Yönetici
I (beginner) am trying to **** some examples but no luck.

Does anyone know of some examples on the net? I would like to know what it returns when it can't ****, and how to specify from start to end, which I guess is going to be 0, -1.

From Scaler , I got this but still unsure about it. Share your insights.

Python:

Kod:
>>> x = "Hello World"
>>> x.****('World')
6
>>> x.****('Aloha');
-1
 
Geri
Üst