def sub_str(str1,str2):
    if str1 in str2:
        print("the substr is found")
    else:
        print("the substr is not found")
sub_str('alia' ,'batt')

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: