Question d’entretien chez Microsoft

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