Xilinx interview question

do a sub string seach of a string using nested loops

Interview Answer

Anonymous

Dec 8, 2018

#!/usr/bin/python3 str1 = "this is string example....wow!!!" str2 = "exam"; print (str1.find(str2)) print (str1.find(str2, 10))