76 293
Assignments Done
Successfully Done
In May 2019

Answer to Question #3386 in Python for mukunda

Question #3386
Find the search string in given source string<br><br>Source = “Rajiv Gandhi University of Knowledge Technologies”<br>Search = “Techno”
Expert's answer
import re

source = &quot;Rajiv Gandhi University of Knowledge Technologies&quot;
search = &quot;Techno&quot;

print( search, &quot;is at&quot;, re.search( search, source ).start(0), &quot;position of the source string&quot; )

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions