import os, base64def showme(s): b64_1 = "p" + "rint(" + s + ")" b64_2 = bytes(b64_1, "utf-8") b64_3 = base64.b64encode(b64_2) exec(base64.b64decode(b64_3))print("This is the first test.\n")showme("This is the second test.")
Standard input is empty
This is the first test.
Traceback (most recent call last): File "./prog.py", line 8, in <module> File "./prog.py", line 6, in showme File "<string>", line 1 print(This is the second test.) ^ SyntaxError: invalid syntax
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!