Domanda di colloquio di Microsoft

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