136. String Replace and Rfind Method in Python with Example Code || Python String Methods-18

preview_player
Показать описание
Code:
string='Tolerance is not a easy quality'

song='Let it be, let it be, let it be'

string='Tolerance is not a easy quality'
song='Let it be, let it be, let it be'

s1='I love Python Tutorials, I love coding'
#rfind

quote='Let it be, let it be, let it be'

print(result)

print(result)

if(result!=-1):
print(result)
else:
print("Doesn't contain substring")
Рекомендации по теме