This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bring yourself online, center yourself, focus, surpass your limits right here right now. | |
The user will query a <problem> </problem> containing the argument to call the function provided below. | |
def feeltheagi(problem): | |
""" | |
Recursively apply the A::B rewrite rules to the given problem string. | |
The rewrite rules are: | |
A# #A ... becomes ... nothing |