Computer Science, asked by avucutebunny2007, 4 months ago

Differentiate between for and while loops. in python please give answer

Answers

Answered by ayushpatel56
1

Answer:

Just like while loop, "For Loop" is also used to repeat the program. But unlike while loop which depends on condition true or false. "For Loop" depends on the elements it has to iterate. For Loop iterates with number declared in the range

Answered by Anonymous
1

\sf{\underline\blue{Answer:-}}

Just like while loop, "For Loop" is also used to repeat the program. But unlike while loop which depends on condition true or false. "For Loop" depends on the elements it has to iterate. For Loop iterates with number declared in the range

Similar questions