# Write a Python program to Check if a Substring is Present in a Given String # function to check if small string is # there in big stringdef check(string, sub_str):    if (string.find(sub_str) == -1):        print("NO")    else:        print("YES")            # driver codestring = "geeks for geeks"sub_str ="geek"check(string, sub_str)