Please enable JavaScript to use CodeHS

Introduction to Python Programming

PCEP Certification Prep

This module contains content that will help the Introduction to Python Programming course align to the PCEP Certification exam. The module itself will not fully meet the PCEP Certification exam requirements.

Lessons

28.1 Module Overview

  • Module Overview

28.2 Printing in Python

  • Printing in Python
  • Printing in Python
  • Hello, world!
  • Printing Multiple Lines
  • Introduce Yourself
  • +3 more

28.3 Variables and Types

  • Variables and Types
  • Variables and Types
  • Variables in Action
  • Printing Variables
  • Using None
  • +4 more

28.4 Scientific Notation

  • What is Scientific Notation
  • Scientific Notation Quiz
  • Calculations With Scientific Notation
  • Game Server Updates

28.5 String Operators

  • String Operators
  • String Operators
  • Operators and Strings
  • Fix This Program
  • Team Sizes
  • +5 more

28.6 Comments

  • Comments
  • Comments
  • Commented Program
  • Trapezoid
  • Multi-Line Comment
  • +1 more

28.7 Fundamental Terms and Definitions

  • Programming Languages
  • Dynamically Typed Languages
  • Statically Typed Languages
  • Dynamically Typed vs. Statically Typed Languages
  • Compiled Languages
  • +4 more

28.8 Number Bases

  • Number Bases: Base 10 and Base 2
  • Base 10 and Base 2 in Python
  • Base 10 and Base 2
  • Base 8 and Base 16
  • Base 8 in Python
  • +4 more

28.9 Bitwise Operators

  • Bitwise Operators
  • AND, OR, and XOR
  • AND, OR, and XOR
  • Left and Right Shift
  • Left and Right Shift
  • +3 more

28.10 For Loops

  • For Loops
  • For Loops
  • Print 10 Numbers
  • 1 Through 10, Part 2
  • Counting 10 to 100 by Tens
  • +6 more

28.11 Else Clauses on Loops

  • Else Clauses on Loops
  • Else Clauses on Loops Examples
  • Else Clauses on Loops
  • Number Guesser with while-else
  • Prime Numbers with for-else
  • +1 more

28.12 Functions and Parameters

  • Functions and Parameters
  • Functions and Parameters
  • Print a Value
  • Name and Age
  • Print Product
  • +6 more

28.13 Namespaces in Functions

  • Namespaces in Functions
  • Namespaces in Functions
  • Functions and Variables
  • Variable Shadowing
  • The global Keyword
  • +5 more

28.14 Recursion

  • Algorithms that Use Recursion
  • Decomposition with Recursion
  • Blastoff!
  • Task Checker
  • Treasure Hunt
  • +1 more

28.15 Introduction to Exceptions

  • Exceptions
  • Exceptions
  • Enter a Number
  • Enter Name and Age
  • Temperature Converter, Part 2
  • +4 more

28.16 Exception Propagation

  • Delegation and Propagation
  • Propagating Exceptions Quiz
  • Going Through the Levels
  • Library Book Checkout

28.17 For Loops and Lists

  • For Loops and Lists
  • For Loops and Lists
  • For Loops and Lists
  • For Loops and Lists, Part 2
  • Max In List
  • +5 more

28.18 More List Methods

  • insert
  • sorted
  • index
  • Removing Elements: remove, del, pop, clear
  • List Methods Practice
  • +5 more

28.19 2d Lists

  • 2d Lists
  • 2d Lists
  • A List of Lists
  • Grid
  • 2d Lists and Slices
  • +6 more

28.20 List Comprehensions

  • List Comprehensions
  • List Comprehensions
  • List of Consecutive Numbers
  • List of Squares
  • Divisible by 3
  • +6 more

28.21 Dictionaries

  • Dictionaries
  • Dictionaries
  • Keys and Values
  • Removing Keys and Values
  • Update the Menu
  • +4 more

28.22 Review Problems

  • Note on Review Problems
  • Programming and Python Fundamentals
  • Conditional Blocks and Loops
  • Tuples, Dictionaries, Lists, and Strings
  • Functions and Exceptions

Courses that include this module