Conditional statements

Conditions-Control-Structures

Table of Contents 1  if Statements2  if…else Statement3  if…elif…else Statement4  Nested if statements5  Practice6  Iterables and Iterators7  while Loops8  for Loops9  range()10  enumerate¶11  The break statement12  The continue statement13  Python pass statement14  Comprehensions14.1  comprehension for lists14.2  comprehension for dictionaries14.3  comprehension for sets15  Errors Handling: try except and finally16  Memory Management in Python Iterations if,elif, else Statements for Loops while Loops range() functions break and continue statements pass statement enumerate comprehesions if Statements The colon (:) separates the header of the compound statement from the body.