60 709
Assignments Done
97,9%
Successfully Done
In April 2018

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 = "Rajiv Gandhi University of Knowledge Technologies"
search = "Techno"

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

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!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions