I am making a program where we can know whether we can form a string from two other strings.
The main string is
s and the other two strings are
suppose s = newspaper, part1 = newpa and part2 = sper part1 and part2 are the mergers of s
In this situation the console wil return True
The problem is that for every input the output is False. Therefore, I would like to get help from the community to identify my mistake/mistakes so that I can rectify them and run them properly