write the output of following:
string="Hello Madam, I love Tutorials"
substring="Madam"
if string.find(substring) !=–1:
print ("Python found the substring!")
else:
print ("Python did NOT find the substring!")
Answers
Answered by
0
Answer:
Python Found the substring!
Similar questions
Science,
6 months ago
History,
6 months ago
Math,
6 months ago
Business Studies,
1 year ago
Chemistry,
1 year ago