English
for loop
नेपाली
लुप को लागी
Code examples
Example 1Example 1
for i in range(1,6):
print(i)
Running…
Run executes the code in your own browser (the first run downloads Python, about 10 MB). Edit lets you change the code and try your own ideas. For programs with files, graphics (turtle, tkinter) or extra packages, copy the code and run it in VS Code.
Downloads
Your progress is saved in this browser.