contains

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…
PythonF

String Contains X and Y

The program must accept a string S as the input. The program must print yes if the string contains only the characters ‘X’ and…