Solve problem "Remove the fragment" online - Learn Python 3 - Snakify

Remove the fragment


Statement

Given a string in which the letter h occurs at least twice. Remove from that string the first and the last occurrence of the letter h, as well as all the characters between them.
Advertising by Google, may be based on your interests

In all the problems input the data using input() and print the result using print().