def build(s, loc): exec(s, loc) return loc def main(): L = build(\'x = 1\', locals()) locals().update(L) exec(\'print(x)\') if __name__ == \