Unit 05 Time Warrior Side Quest

Opish

Warrior

Opish is a language game like Pig Latin. It's been used by prisoners of war to communicate with one another without being understood. All you do is add the letters "op" after every consonant group of one or more consonants. For example, "this is an example" would become "thopisop isop anop exopamplop."

Write a function that takes a String as an argument and returns the same string in Opish. Print out your function to turn it in.