Code Lab
Write and run C++, C, Python and JavaScript (with typed input, turtle drawings and a canvas), or practise MS-DOS commands. Everything runs safely in your browser.
Ctrl+Enter = Run · Ctrl+Space = suggestions · Ctrl+/ = comment
Leave this box empty to type the answers while the program runs.
Draw with the turtle module in Python, or with canvas and ctx in JavaScript.
MS-DOS Prompt