Skip to Main Content

Intermediate Concepts in Python: Conditions and Iteration

This guide was created for those interested in increasing their Python programming knowledge. This guide is best for those who have some familiarity with basic concepts in Python.

Welcome!

Looking to learn more about looping and conditionals to Python programming?


Use this guide to learn about basic principles, structures, and operations in Python.

You will be introduced to the following outcomes:

  • Employ IF...ELSE statements (IF Statements)
  • Identify and use comparison operators (IF Statements)
  • Appropriately use the IN keyword in an IF...ELSE statement (IF Statements)
  • Describe the appropriate use of indentation (IF Statements)
  • Appropriately use the AND keyword in an IF...ELSE statement to set multiple parameters (IF Statements)
  • Appropriately use the OR keyword in an IF...ELSE statement to set multiple parameters (IF Statements)
  • Appropriately use the ELIF keyword in an IF...ELSE statement to set multiple outputs (IF Statements)
  • Use input to collect user information (IF Statements)
  • Employ WHILE statements using "break" or "continue" (WHILE Statements)
  • Employ iteration using FOR statements (FOR Statements)

What is Python?

via GIPHY

Python is a programming language that can be used for a variety of data-intensive tasks from descriptive analytics to machine learning. With the help of community-created library packages, you can use Python to tackle your next academic, professional, or personal data project! For more information about Python, visit the following site:  Welcome to Python

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.