Please enable JavaScript to use CodeHS

Intro to Python with Tracy the Turtle (2022)

Description

In this lesson, students will learn how to use If Statements which will allow them to use conditions to determine how their code should run.

Objective

Students will be able to:

  • Use if statements in order to tell Tracy how to make decisions
Description

In this lesson, students will learn how to expand on If Statements by including a way to have Tracy make decisions between multiple scenarios.

Objective

Students will be able to:

  • Use if/else statements in order to have Tracy make decisions between multiple scenarios
Description

In this lesson, students will learn that while loops allow code to be executed repeatedly based on a condition. They will also be warned that infinite loops are created if the exit condition of the while loop is never met, causing the code inside the while loop to repeat continuously which causes the program to crash.

Objective

Students will be able to:

  • Effectively use while loops in their programs
  • Identify infinite loops