Please enable JavaScript to use CodeHS

Intro to Python with Tracy the Turtle (2022)

Description

In this lesson, students will learn about a fundamental aspect of every programming language: Variables. A variable is something that stores information in a program that can be used later.

Objective

Students will be able to:

  • Describe what variables are
  • Discuss why variables are used in our programs
Description

In this lesson, students will learn how to incorporate user input into their programs. Students will learn how to request user input as both strings and integers, where the input is stored, and how to convert strings and integers.

Objective

Students will be able to:

  • Incorporate user input into their code in order to customize their programs
Description

In this lesson, students will dive deeper into the concept of functions by exploring how to use parameters to customize their code.

Objective

Students will be able to:

  • Incorporate parameters into their functions in order to adapt their functions to multiple situations
Description

In this lesson, students will expand their knowledge of for loops. They are aware that for loops execute the same lines of code a given number of times but will learn that i is actually a variable that can be used to control commands inside the loop as it is running.

Objective

Students will be able to:

  • Use i as a variable inside their for loop to control different commands
Description

In this lesson, students will learn the extended parameters that can be used to control the value of i in for loops. They will then be able to use the variable i to control much more of their code by setting specific values.

Objective

Students will be able to:

  • Control the value of i using extended parameters