Select a programming language (HTML, Python, C, or C++) from the left sidebar to open the editor. Your code saves automatically when switching tabs.
ਖੱਬੇ ਪਾਸੇ ਦਿੱਤੇ ਮੇਨੂ ਤੋਂ ਕੋਈ ਵੀ ਪ੍ਰੋਗਰਾਮਿੰਗ ਭਾਸ਼ਾ ਚੁਣੋ। ਜਦੋਂ ਤੁਸੀਂ ਭਾਸ਼ਾ ਬਦਲਦੇ ਹੋ ਤਾਂ ਤੁਹਾਡਾ ਕੋਡ ਆਪਣੇ ਆਪ ਸੇਵ ਹੋ ਜਾਂਦਾ ਹੈ।
Write your code in the dark panel and click the green Run button. The results will be displayed instantly in the right-side console.
ਡਾਰਕ ਐਡੀਟਰ ਵਿੱਚ ਆਪਣਾ ਕੋਡ ਲਿਖੋ ਅਤੇ ਹਰੇ Run ਬਟਨ 'ਤੇ ਕਲਿੱਕ ਕਰੋ। ਤੁਹਾਡਾ ਨਤੀਜਾ ਸੱਜੇ ਪਾਸੇ ਕੰਸੋਲ ਵਿੱਚ ਦਿਖਾਈ ਦੇਵੇਗਾ।
Do not write loops that never end (e.g., while(true) or counting to billions). Heavy code will severely slow down the platform.
ਅਨੰਤ (ਕਦੇ ਨਾ ਖਤਮ ਹੋਣ ਵਾਲੇ) ਲੂਪਸ ਨਾ ਬਣਾਓ। ਬਹੁਤ ਲੰਬਾ ਕੋਡ ਚਲਾਉਣ ਨਾਲ ਸਿਸਟਮ ਧੀਮਾ ਹੋ ਸਕਦਾ ਹੈ।
If your code is taking longer than 10 seconds to run, immediately click the red Stop button to cancel the execution and fix your code.
ਜੇਕਰ ਕੋਡ ਚੱਲਣ ਵਿੱਚ 10 ਸਕਿੰਟਾਂ ਤੋਂ ਵੱਧ ਸਮਾਂ ਲੱਗ ਰਿਹਾ ਹੈ, ਤਾਂ ਤੁਰੰਤ ਲਾਲ Stop ਬਟਨ ਦਬਾਓ ਅਤੇ ਆਪਣਾ ਕੋਡ ਠੀਕ ਕਰੋ।
Made a mess? Click the Reset button next to the Run button to completely clear your editor and restore the default starter code.
ਜੇਕਰ ਕੋਡ ਖਰਾਬ ਹੋ ਗਿਆ ਹੈ, ਤਾਂ ਡਿਫਾਲਟ (ਮੂਲ) ਕੋਡ ਵਾਪਸ ਲਿਆਉਣ ਲਈ Reset ਬਟਨ ਦੀ ਵਰਤੋਂ ਕਰੋ।
If your code fails, read the red error text carefully in the console. It will usually tell you exactly which line number has a Syntax or Runtime error.
ਜੇਕਰ ਕੰਸੋਲ ਵਿੱਚ ਲਾਲ ਰੰਗ ਦੀ ਗਲਤੀ (Error) ਆਉਂਦੀ ਹੈ, ਤਾਂ ਉਸਨੂੰ ਧਿਆਨ ਨਾਲ ਪੜ੍ਹੋ। ਉਹ ਤੁਹਾਨੂੰ ਦੱਸੇਗੀ ਕਿ ਗਲਤੀ ਕਿਸ ਲਾਈਨ ਵਿੱਚ ਹੈ।