Loops: Do It Ten Times
A penguin has to waddle across the whole ice sheet. Writing 10 move lines is slow. A for loop says: 'do this 10 times' in one line.
What you'll learn
Write your first for loop.
New command
for (let i = 0; i < 10; i++) { }๐ป Code Editorjs
๐ฌ
Press Run Code to see your creation!