Live playground

Run code in a sandbox

Your code executes in a throwaway container with no network access and strict resource limits. Press ⌘ / Ctrl + Enter to run.

Press Enter to generate · Shift + Enter for a new line
Loading editor…
output

Run your code to see the output here.