Parser tujuan

class Solution:
    def Interpret(self, command):
        return(command.replace("()", "o").replace("(al)", "al"))


Task = Solution()

print(Task.Interpret('G()(al)'))
Kingsley Atuba