{#if code}
{@html lang}
{#if lang === 'python' || (lang === '' && checkPythonCode(code))} {#if executing}
Running
{:else}
{ executePython(code); }}>Run
{/if} {/if}
{copied ? 'Copied' : 'Copy Code'}
{@html highlightedCode || code}
{#if executing}
STDOUT/STDERR
Running...
{:else if stdout || stderr || result}
STDOUT/STDERR
{stdout || stderr || result}
{/if}
{/if}