TikTok interview question

Answer a question on printing out a string when function is called, based on inputs