If this is the first string : ABCD
if this is the second string: ABCD is ABCD
I want to count the occurrence of first string in the second string and that too in python. How can I do that?I'm new to python, so facing some problems. Can anyone tell me the solution or provide the code for the same.