Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Goal Parser Python

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


Task = Solution()

print(Task.Interpret('G()(al)'))
 
PREVIOUS NEXT
Tagged: #Goal #Parser #Python
ADD COMMENT
Topic
Name
9+2 =