Please enable JavaScript to use CodeHS

MTA Python: 5.1

CodeHS Lessons

Analyze, detect, and fix code segments that have errors.

Standard
3.1 Printing in Python
3.2 Variables and Types
3.5 String Operators
5.1 Booleans
5.2 If Statements
9.3 Namespaces in Functions
Standard
1.1 Intro to Python with Tracy the Turtle
1.3 Tracy's Grid World
2.2 Turning Tracy
2.3 For Loops
2.4 Turning Tracy Using Angles
3.3 Functions
3.4 Artistic Effects
3.6 Top Down Design
5.1 Variables
5.5 User Input
5.6 Parameters
5.9 Using i in For Loops
5.10 Extended Loop Control
7.1 If Statements
7.2 If/Else Statements
7.4 While Loops
8.1 Putting Together Control Structures
Standard
1.1 Intro to Python with Tracy the Turtle
1.3 Tracy's Grid World
2.2 Turning Tracy
2.3 For Loops
2.4 Turning Tracy Using Angles
3.3 Functions
3.4 Artistic Effects
3.6 Top Down Design
5.1 Variables
5.5 User Input
5.6 Parameters
5.9 Using i in For Loops
5.10 Extended Loop Control
7.1 If Statements
7.2 If/Else Statements
7.4 While Loops
8.1 Putting Together Control Structures
Standard
13.1 Intro to Python with Tracy the Turtle
13.2 Tracy's Grid World
13.3 Turning Tracy
13.4 For Loops
13.5 Turning Tracy Using Angles
13.8 Functions
13.9 Artistic Effects
13.10 Top Down Design
13.11 Variables
13.12 User Input
13.13 Parameters
13.14 Using i in For Loops
13.15 Extended Loop Control
13.16 If Statements
13.17 If/ Else Statements
13.18 While Loops
13.19 Putting Together Control Structures
Standard
3.1 Intro to Python with Tracy the Turtle
3.2 Tracy's Grid World
3.3 Turning Tracy
3.4 For Loops
3.5 Turning Tracy Using Angles
3.8 Functions
3.9 Artistic Effects
3.10 Top Down Design
3.11 Variables
3.12 User Input
3.13 Parameters
3.14 Using i in For Loops
3.15 Extended Loop Control
3.16 If Statements
3.17 If/ Else Statements
3.18 While Loops
3.19 Putting Together Control Structures
Standard
6.1 Intro to Python with Tracy the Turtle
6.2 Tracy's Grid World
6.3 Turning Tracy
6.4 For Loops
6.5 Turning Tracy Using Angles
6.8 Functions
6.9 Artistic Effects
6.10 Top Down Design
6.11 Variables
6.12 User Input
6.13 Parameters
6.14 Using i in For Loops
6.15 Extended Loop Control
6.16 If Statements
6.17 If/ Else Statements
6.18 While Loops
6.19 Putting Together Control Structures
Standard
7.5 String Operators
7.16 Namespaces in Functions
Standard
1.1 Intro to Python with Tracy the Turtle
1.2 Tracy's Grid World
1.3 Turning Tracy
1.4 For Loops
1.5 Turning Tracy Using Angles
1.8 Functions
1.9 Artistic Effects
1.10 Top Down Design
1.11 Variables
1.12 User Input
1.13 Parameters
1.14 Using i in For Loops
1.15 Extended Loop Control
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
2.1 Printing in Python
2.2 Variables and Types
2.5 String Operators
4.1 Booleans
4.2 If Statements
6.3 Namespaces in Functions
Standard
1.1 Intro to Python with Tracy the Turtle
1.2 Tracy's Grid World
2.1 Turning Tracy
2.2 For Loops
2.3 Turning Tracy Using Angles
3.3 Functions
3.4 Artistic Effects
3.5 Top Down Design
4.1 Variables
4.2 User Input
4.3 Parameters
4.4 Using i in For Loops
4.5 Extended Loop Control
6.1 If Statements
6.2 If/ Else Statements
6.3 While Loops
8.1 Putting Together Control Structures
Standard
1.1 Intro to Python with Tracy the Turtle
1.2 Tracy's Grid World
1.3 Turning Tracy
1.4 For Loops
1.5 Turning Tracy Using Angles
1.8 Functions
1.9 Artistic Effects
1.10 Top Down Design
1.11 Variables
1.12 User Input
1.13 Parameters
1.14 Using i in For Loops
1.15 Extended Loop Control
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
Standard
1.1 Intro to Python with Tracy the Turtle
1.2 Tracy's Grid World
2.1 Turning Tracy
2.2 For Loops
2.3 Turning Tracy Using Angles
3.3 Functions
3.4 Artistic Effects
3.5 Top Down Design
4.1 Variables
4.2 User Input
4.3 Parameters
4.4 Using i in For Loops
4.5 Extended Loop Control
5.1 If Statements
5.2 If/ Else Statements
5.3 While Loops
6.1 Putting Together Control Structures
Standard
2.1 Intro to Python with Tracy the Turtle
2.2 Tracy's Grid World
2.3 Turning Tracy
2.4 For Loops
2.5 Turning Tracy Using Angles
2.8 Functions
2.9 Artistic Effects
2.10 Top Down Design
2.11 Variables
2.12 User Input
2.13 Parameters
2.14 Using i in For Loops
2.15 Extended Loop Control
2.16 If Statements
2.17 If/ Else Statements
2.18 While Loops
2.19 Putting Together Control Structures
3.1 Printing in Python
3.2 Variables and Types
3.5 String Operators
4.1 Booleans
4.2 If Statements
6.3 Namespaces in Functions
Standard
2.1 Intro to Python with Tracy the Turtle
2.2 Tracy's Grid World
2.3 Turning Tracy
2.4 For Loops
2.5 Turning Tracy Using Angles
2.8 Functions
2.9 Artistic Effects
2.10 Top Down Design
2.12 Variables
2.13 User Input
2.14 Parameters
2.16 Using i in For Loops
2.17 Extended Loop Control
2.18 If Statements
2.19 If/ Else Statements
2.20 While Loops
2.22 Putting Together Control Structures
5.1 Printing in Python
5.2 Variables and Types
5.5 String Operators
6.1 Booleans
6.2 If Statements
8.3 Namespaces in Functions
Standard
1.1 Intro to Python with Tracy the Turtle
1.2 Tracy's Grid World
1.3 Turning Tracy
1.4 For Loops
1.5 Turning Tracy Using Angles
1.8 Functions
1.9 Artistic Effects
1.10 Top Down Design
1.11 Variables
1.12 User Input
1.13 Parameters
1.14 Using i in For Loops
1.15 Extended Loop Control
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
Standard
1.1 Intro to Python with Tracy the Turtle
1.2 Tracy's Grid World
1.3 Turning Tracy
1.4 For Loops
1.5 Turning Tracy Using Angles
1.8 Functions
1.9 Artistic Effects
1.10 Top Down Design
1.11 Variables
1.12 User Input
1.13 Parameters
1.14 Using i in For Loops
1.15 Extended Loop Control
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
Standard
3.1 Intro to Python with Tracy the Turtle
3.2 Tracy's Grid World
3.3 Turning Tracy
3.4 For Loops
3.5 Turning Tracy Using Angles
3.8 Functions
3.9 Artistic Effects
3.10 Top Down Design
3.11 Variables
3.12 User Input
3.13 Parameters
3.14 Using i in For Loops
3.15 Extended Loop Control
3.16 If Statements
3.17 If/ Else Statements
3.18 While Loops
3.19 Putting Together Control Structures
Standard
3.2 Printing in Python
3.3 Variables and Types
3.6 String Operators
4.1 Booleans
4.2 If Statements
6.3 Namespaces in Functions
18.1 Intro to Python with Tracy the Turtle
18.2 Tracy's Grid World
18.3 Turning Tracy
18.4 For Loops
18.5 Turning Tracy Using Angles
18.8 Functions
18.9 Artistic Effects
18.10 Top Down Design
18.11 Variables
18.12 User Input
18.13 Parameters
18.14 Using i in For Loops
18.15 Extended Loop Control
18.16 If Statements
18.17 If/ Else Statements
18.18 While Loops
18.19 Putting Together Control Structures
Standard
1.1 Intro to Python with Tracy the Turtle
1.2 Tracy's Grid World
1.3 Turning Tracy
1.4 For Loops
1.5 Turning Tracy Using Angles
1.8 Functions
1.9 Artistic Effects
1.10 Top Down Design
1.11 Variables
1.12 User Input
1.13 Parameters
1.14 Using i in For Loops
1.15 Extended Loop Control
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
Standard
1.1 Intro to Python with Tracy the Turtle
1.2 Tracy's Grid World
1.3 Turning Tracy
1.4 For Loops
1.5 Turning Tracy Using Angles
1.8 Functions
1.9 Artistic Effects
1.10 Top Down Design
1.11 Variables
1.12 User Input
1.13 Parameters
1.14 Using i in For Loops
1.15 Extended Loop Control
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
Standard
1.1 Intro to Python with Tracy the Turtle
1.2 Tracy's Grid World
1.3 Turning Tracy
1.4 For Loops
1.5 Turning Tracy Using Angles
1.8 Functions
1.9 Artistic Effects
1.10 Top Down Design
1.11 Variables
1.12 User Input
1.13 Parameters
1.14 Using i in For Loops
1.15 Extended Loop Control
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
Standard
1.1 Intro to Python with Tracy the Turtle
1.2 Tracy's Grid World
1.3 Turning Tracy
1.4 For Loops
1.5 Turning Tracy Using Angles
1.8 Functions
1.9 Artistic Effects
1.10 Top Down Design
1.11 Variables
1.12 User Input
1.13 Parameters
1.14 Using i in For Loops
1.15 Extended Loop Control
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
Standard
1.1 Intro to Python with Tracy the Turtle
1.2 Tracy's Grid World
1.3 Turning Tracy
1.4 For Loops
1.5 Turning Tracy Using Angles
1.8 Functions
1.9 Artistic Effects
1.10 Top Down Design
1.11 Variables
1.12 User Input
1.13 Parameters
1.14 Using i in For Loops
1.15 Extended Loop Control
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
Standard
1.1 Intro to Python with Tracy the Turtle
1.2 Tracy's Grid World
1.3 Turning Tracy
1.4 For Loops
1.5 Turning Tracy Using Angles
1.8 Functions
1.9 Artistic Effects
1.10 Top Down Design
1.11 Variables
1.12 User Input
1.13 Parameters
1.14 Using i in For Loops
1.15 Extended Loop Control
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
Standard
1.1 Intro to Python with Tracy the Turtle
1.2 Tracy's Grid World
1.3 Turning Tracy
1.4 For Loops
1.5 Turning Tracy Using Angles
1.8 Functions
1.9 Artistic Effects
1.10 Top Down Design
1.11 Variables
1.12 User Input
1.13 Parameters
1.14 Using i in For Loops
1.15 Extended Loop Control
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
Standard
3.1 Intro to Python with Tracy the Turtle
3.2 Tracy's Grid World
3.3 Turning Tracy
3.4 For Loops
3.5 Turning Tracy Using Angles
3.8 Functions
3.9 Artistic Effects
3.10 Top Down Design
3.11 Variables
3.12 User Input
3.13 Parameters
3.14 Using i in For Loops
3.15 Extended Loop Control
3.16 If Statements
3.17 If/ Else Statements
3.18 While Loops
3.19 Putting Together Control Structures
Standard
3.1 Intro to Python with Tracy the Turtle
3.2 Tracy's Grid World
3.3 Turning Tracy
3.4 For Loops
3.5 Turning Tracy Using Angles
3.8 Functions
3.9 Artistic Effects
3.10 Top Down Design
3.12 Variables
3.13 User Input
3.14 Parameters
3.15 Using i in For Loops
3.16 Extended Loop Control
3.17 If Statements
3.18 If/ Else Statements
3.19 While Loops
3.20 Putting Together Control Structures
Standard
1.1 Intro to Python with Tracy the Turtle
1.2 Tracy's Grid World
1.3 Turning Tracy
1.4 For Loops
1.5 Turning Tracy Using Angles
1.8 Functions
1.9 Artistic Effects
1.10 Top Down Design
1.11 Variables
1.12 User Input
1.13 Parameters
1.14 Using i in For Loops
1.15 Extended Loop Control
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
Standard
1.2 Intro to Python with Tracy the Turtle
1.3 Tracy's Grid World
2.1 Turning Tracy
2.2 For Loops
2.3 Turning Tracy Using Angles
3.3 Functions
3.4 Artistic Effects
3.5 Top Down Design
4.2 Variables
4.3 User Input
4.4 Parameters
4.6 Using i in For Loops
4.7 Extended Loop Control
5.1 If Statements
5.2 If/ Else Statements
5.3 While Loops
6.1 Putting Together Control Structures
Standard
1.1 Intro to Python with Tracy the Turtle
1.2 Tracy's Grid World
1.3 Turning Tracy
1.4 For Loops
1.5 Turning Tracy Using Angles
1.8 Functions
1.9 Artistic Effects
1.10 Top Down Design
1.11 Variables
1.12 User Input
1.13 Parameters
1.14 Using i in For Loops
1.15 Extended Loop Control
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
Standard
2.1 Printing in Python
2.2 Variables and Types
2.5 String Operators
4.1 Booleans
4.2 If Statements
Standard
1.3 Namespaces in Functions
Standard
1.1 Intro to Python with Tracy the Turtle
1.3 Tracy's Grid World
2.2 Turning Tracy
2.3 For Loops
2.4 Turning Tracy Using Angles
3.3 Functions
3.4 Artistic Effects
3.6 Top Down Design
5.1 Variables
5.5 User Input
5.6 Parameters
5.9 Using i in For Loops
5.10 Extended Loop Control
7.1 If Statements
7.2 If/Else Statements
7.4 While Loops
8.1 Putting Together Control Structures
Standard
1.1 Intro to Python with Tracy the Turtle
1.3 Tracy's Grid World
2.2 Turning Tracy
2.3 For Loops
2.4 Turning Tracy Using Angles
3.3 Functions
3.4 Artistic Effects
3.6 Top Down Design
5.1 Variables
5.5 User Input
5.6 Parameters
5.9 Using i in For Loops
5.10 Extended Loop Control
7.1 If Statements
7.2 If/Else Statements
7.4 While Loops
8.1 Putting Together Control Structures
Standard
2.1 Printing in Python
2.2 Variables and Types
2.5 String Operators
4.1 Booleans
4.2 If Statements
9.3 Namespaces in Functions
Standard
2.1 Printing in Python
2.2 Variables and Types
2.5 String Operators
4.1 Booleans
4.2 If Statements
Standard
1.3 Namespaces in Functions