DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
for loop
const n = 7; for(let i = 0; i <= n; i++) console.log(i); // output -> 0, 1, 2, 3, 4, 5, 6, 7
Source by www.codewithharry.com #
PREVIOUS
NEXT
Tagged:
#loop
ADD COMMENT
Topic
COMMENT
Name
4+5 =
Submit