6 Respuestas
+ 7
I agree that Sololearn lessons can be misleading or confusing. I hope this will help.
https://youtu.be/885qKiiKisI covers while loops
https://youtu.be/HFQGxh1jY3g covers for loops
+ 3
There are comments on each lesson. Many people tried to explain. Maybe take a look at them.
+ 2
for i in range 5:
print ("Hi")
This creates a loop with the variable "i" Each time the loop runs, i gets increased by 1 and Hi gets printed this goes on and on till variable i gets to 4 and the loop stops
0
thanks
0
it can be created by using while and terminated by using break
0
By using loop and while.