scientific_comp_projects/CODE/[python]kattis/trivial/greetings.py

8 lines
104 B
Python
Raw Normal View History

2021-10-29 15:16:40 +02:00
inputWord = input()
many = inputWord.count('e')
now = many*2
newWord = 'h'+now*'e'+'y'
print(newWord)