Write a function to find a substring in a string. Test your code, write the test cases.
Anonymous
def substrng(str1,str2): if str2 in str1: print ("substring found") else: print ("No substring found")
Check out your Company Bowl for anonymous work chats.