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 © 2014 care4you © Revision-1: 2016 care4you © Revision-2: 2019 Connect On Facebook DMCA.com Protection Status
error: Content is protected !!