Skip to Main Content
It looks like you're using Internet Explorer 11 or older. This website works best with modern browsers such as the latest versions of Chrome, Firefox, Safari, and Edge. If you continue with this browser, you may see unexpected results.

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.

Practice Code Scenarios

Use the following scenarios to practice the skills you've learned:

Write a Python script that takes a number as input and determines if the number is greater or equal to 29.

Write a Python script that adds a list of numbers until the total equals 19.

Write a Python script that iterates through a list of names to determine the length of each name.

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