Pergunta de entrevista da empresa Microsoft

Write a python code to check if a substring is present in a string.