Challenge 1
Run the current Python interpreter to print a message, capture the output as text, and fail if the child fails.
import subprocess
import sys
result = subprocess.run(
[sys.executable, "-c", "print('ready')"],
)
print(result.stdout.strip())
Press Ctrl⌘Enter to check your answer