Don't overthink, Just howl

This is solution for howl challenge from kattis. The question requires that you return a Howl that is longer than the one provided in the input. The howl has to meet some requirements.

At first I didn’t have a clue how to solve it. I thought that maybe I would have to come up with all sorts of valid combinations and then pick the first one that was longer than the input. Alternatively I could have modified the input by making it longer but still valid. Then I noticed something interesting. The tests for this question was only asking for a longer string even if its just by one character. So why not build my own custom string that just add a bunch of ‘O’ character to the end. Once again Occam’s razor prevails.

Challenge solution

print(input()+'O')

End of story