Inactive Tutor answered 06/28/21
Tutor
New to Wyzant
strS="Python for beginners is easy to learn"
str2 = "easy"
print(" first occurance of " + str2 + " is at " + str(strS.find(str2)))
Nirmal J.
asked 06/28/21Inactive Tutor answered 06/28/21
strS="Python for beginners is easy to learn"
str2 = "easy"
print(" first occurance of " + str2 + " is at " + str(strS.find(str2)))
Get a free answer to a quick problem.
Most questions answered within 4 hours.
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.