Answers for "find word position in string python"

0

find word position in string python

s = "Happy Birthday"
s2 = "py"

print(s.find(s2))
Posted by: Guest on February-05-2022

Code answers related to "find word position in string python"

Python Answers by Framework

Browse Popular Code Answers by Language