Monday, December 12, 2016

Blog 34

What does the find string return if the second string is not found in the first? What does it print?

for example

f_string= "hello"
s_string= "pig"

index=f_string.find(s_string)

print index

14 comments: