Category: Loop and Control Statements in Python

FOR Loop

For Loop is used to iterate a task number of times. The loop allows traversal over an iterable objects like lists, tuple and strings. Syntax: >>> for val in sequence : . . .      body of for >>> else: . . .      body of else part   here val is a variable […]

care4you © 2020 Connect On Facebook Protection Status