Solve problem "Replace within the fragment" online - Learn Python 3 - Snakify

Replace within the fragment


Statement

Given a string. Replace every occurrence of the letter h by the letter H, except for the first and the last ones.
Advertising by Google, may be based on your interests

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