0

What is the diff between range and for loop???

i really have a doubt

21st Feb 2017, 4:20 PM
Satyajit
Satyajit - avatar
1 ответ
0
You check if something's on range ( is 4 in rage of: num > 3 (yes it is)). For loop is a loop, you usually check if the for loop variable is in range so it loops.
21st Feb 2017, 4:34 PM
David Koplik
David Koplik - avatar