Q. What is the output produced ?


(i) >>> "whenever".find("never")

(ii) >>> "whenever".find("what")


Answer =

(i)
>>> "whenever".find("never")
3
>>>

(ii)
>>> "whenever".find("what")
-1
>>>

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post