What is a loop?

M

mars

New member
Freecoin
128
A loop is a programming structure that repeatedly executes a block of code until a specified condition is met.

Example:
for i in range(5):
print(i)
 

Richest Freecoded User

Most Freecoin

freecoded
freecoded
5,280 Freecoin
P
Peterparker87
1,731 Freecoin
J
Johnhendrick
1,551 Freecoin
S
Smith16
738 Freecoin
Davy200
Davy200
590 Freecoin
A
Alfrenoe87
531 Freecoin
D
domnickfury
505 Freecoin
R
riyageorge0895
496 Freecoin
nathan69
nathan69
426 Freecoin
Laureine
Laureine
415 Freecoin
Top