python

PythonF

S1 Contains S2 In Python

S1 Contains S2 In Python: Given two string values S1 and S2, the program must print YES if the characters of S2 occurs in the same order of…