# Pyhton code to check whether a sub string is present in a given string

def check(sub_string,string):
    if sub_string in string:
        print("Substring is present in string")
    else:
        print("Substring not found")

check("name is ","Python is a programming language.")
cc2437f884eab44016d85e6516d62224a34e7e14
<mask token>

def check(sub_string, string):
    if sub_string in string:
        print('Substring is present in string')
    else:
        print('Substring not found')


<mask token>

def check(sub_string, string):
    if sub_string in string:
        print('Substring is present in string')
    else:
        print('Substring not found')


check('name is ', 'Python is a programming language.')

# Pyhton code to check whether a sub string is present in a given string

def check(sub_string,string):
    if sub_string in string:
        print("Substring is present in string")
    else:
        print("Substring not found")

check("name is ","Python is a programming language.")