Mubashir can talk with monkeys. You can also learn their simple language.
Create a function that takes a string txt and returns the string in monkeys language. You have to figure out their language from test cases.
monkeyTalk("Mubashir Hassan") β "Ook ook."
monkeyTalk("Hello") β "Ook."
monkeyTalk("Matt") β "Ook."
monkeyTalk("Everyone") β "Eek."
monkeyTalk("Innokodakademija is Amazing") β "Eek eek eek."
A hint in the comments section.