fork download
  1. import os, base64
  2. def showme(s):
  3. b64_1 = "p" + "rint(" + s + ")"
  4. b64_2 = bytes(b64_1, "utf-8")
  5. b64_3 = base64.b64encode(b64_2)
  6. exec(base64.b64decode(b64_3))
  7. print("This is the first test.\n")
  8. showme("This is the second test.")
Runtime error #stdin #stdout #stderr 0.02s 28080KB
stdin
Standard input is empty
stdout
This is the first test.

stderr
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