python for loop syntax – Looping Statement

python for loop syntax

Looping Statement Also known as “Iteration statement” or “Repetition statement”, looping statements are the commands which repeat the whole program or a part of it depending upon a given condition. Python provides two types of looping statements: for() loop and while() loop. 1) while() loop: It can be called as conditional loop as it repeats … Read more