fill

PythonF

Fill the Underscores

The program must accept a string S containing underscore(s) and N string values as the input. A group of consecutive underscores in the string…