# AL 8: 4

## CodeHS Lessons

Create a function to simplify a task. Example: 38 = 3*3*3*3*3*3*3*3; =(Average) used in a spreadsheet to average a given list of grades.

 Standard 9.1 Functions 9.2 Functions and Parameters 10.4 Strings and For Loops 10.5 The in Keyword 12.3 For Loops and Lists 12.4 List Methods 24.7 Functions
 Standard 33.4 Strings and For Loops 33.5 The in Keyword
 Standard 9.14 Functions and Parameters 1 9.15 Functions and Parameters 2 9.16 Functions and Return Values 1 9.17 Functions and Return Values 2
 Standard 4.2 Programming with Karel
 Standard 2.2 A Day at the Park 3.3 A Day at the Carnival 3.4 Under the Sea 5.8 While Loops 5.9 Karel Challenges
 Standard 2.2 A Day at the Park 4.3 A Day at the Carnival 4.4 Under the Sea
 Standard 1.8 While Loops 1.9 Karel Challenges
 Standard 3.3 Functions
 Standard 3.3 Functions
 Standard 2.1 Functions in Karel 3.3 For Loops 5.1 While Loops in Karel 6.1 Control Structures Example 6.2 More Karel Examples and Testing 6.4 Ultra Karel 7.1 Karel Challenges 8.1 Final Project
 Standard 1.4 Functions in Karel 1.9 For Loops 1.11 If/Else Statements 1.12 While Loops in Karel 1.13 Control Structures Example 1.14 More Karel Examples and Testing 1.16 Karel Challenges 13.8 Functions
 Standard 2.4 Functions in Karel 2.9 For Loops 2.11 If/Else Statements 2.12 While Loops in Karel 2.13 Control Structures Example 2.14 More Karel Examples and Testing 2.16 Karel Challenges 3.8 Functions
 Standard 2.4 Functions in Karel 2.9 For Loops 2.11 If/Else Statements 2.12 While Loops in Karel 2.13 Control Structures Example 2.14 More Karel Examples and Testing 2.16 Karel Challenges 6.8 Functions
 Standard 7.14 Functions 7.15 Functions and Parameters
 Standard 6.3 For Loops and Lists 6.4 List Methods
 Standard 1.4 Functions in Karel 1.9 For Loops 1.11 If/Else Statements 1.12 While Loops in Karel 1.13 Control Structures Example 1.14 More Karel Examples and Testing 1.16 Karel Challenges 3.9 For Loops 3.4 Functions in Karel 3.12 While Loops in Karel 3.13 Control Structures Example 3.14 More Karel Examples and Testing 3.16 Ultra Karel 3.17 Karel Challenges 3.18 Final Project
 Standard 1.8 Functions 6.1 Functions 6.2 Functions and Parameters 7.4 Functions 8.4 Strings and For Loops 8.5 The in Keyword 9.3 For Loops and Lists 9.4 List Methods
 Standard 8.1 Functions and Parameters 1 8.2 Functions and Parameters 2 8.3 Functions and Parameters 3 8.4 Functions and Return Values 1 8.5 Functions and Return Values 2 10.4 Functions
 Standard 3.3 Functions
 Standard 3.1 Functions in Karel 4.3 For Loops 6.1 While Loops in Karel 8.1 Control Structures Example 8.2 More Karel Examples and Testing 8.4 Ultra Karel 9.1 Karel Challenges 11.1 Final Project
 Standard 2.4 Functions
 Standard 9.1 Functions and Parameters 1 9.2 Functions and Parameters 2 9.3 Functions and Parameters 3 9.4 Functions and Return Values 1 9.5 Functions and Return Values 2
 Standard 1.8 Functions 11.9 For Loops 11.11 If/Else Statements 11.12 While Loops in Karel 11.13 Control Structures Example 11.4 Functions in Karel 11.14 More Karel Examples and Testing 11.16 Karel Challenges
 Standard 1.5 Methods in Karel 3.1 Java Methods 3.2 Methods and Parameters 3.3 Methods and Return Values
 Standard 7.1 Functions and Parameters 1 7.2 Functions and Parameters 2 7.3 Functions and Parameters 3 7.4 Functions and Return Values 1 7.5 Functions and Return Values 2
 Standard 7.1 Functions and Parameters 1 7.2 Functions and Parameters 2 7.3 Functions and Parameters 3 7.4 Functions and Return Values 1 7.5 Functions and Return Values 2
 Standard 7.1 Functions and Parameters 1 7.2 Functions and Parameters 2 7.3 Functions and Parameters 3 7.4 Functions and Return Values 1 7.5 Functions and Return Values 2
 Standard 3.3 Functions
 Standard 2.8 Functions 6.1 Functions 6.2 Functions and Parameters 7.4 Strings and For Loops 7.5 The in Keyword 8.3 For Loops and Lists 8.4 List Methods
 Standard 2.16 Functions and Parameters 1 2.17 Functions and Parameters 2 2.18 Functions and Parameters 3 2.19 Functions and Return Values 1 2.20 Functions and Return Values 2
 Standard 14.10 Functions and Parameters 1 14.11 Functions and Parameters 2 14.12 Functions and Return Values 1
 Standard 9.1 Functions and Parameters 1 9.2 Functions and Parameters 2 9.3 Functions and Parameters 3 9.4 Functions and Return Values 1 9.5 Functions and Return Values 2
 Standard 10.1 Functions and Parameters 1 10.2 Functions and Parameters 2 10.3 Functions and Parameters 3 10.4 Functions and Return Values 1 10.5 Functions and Return Values 2
 Standard 2.8 Functions 8.1 Functions 8.2 Functions and Parameters 9.4 Strings and For Loops 9.5 The in Keyword 10.3 For Loops and Lists 10.4 List Methods
 Standard 10.1 Functions and Parameters 1 10.2 Functions and Parameters 2 10.3 Functions and Parameters 3 10.4 Functions and Return Values 1 10.5 Functions and Return Values 2
 Standard 9.1 Functions and Parameters 1 9.2 Functions and Parameters 2 9.3 Functions and Parameters 3 9.4 Functions and Return Values 1 9.5 Functions and Return Values 2
 Standard 1.8 Functions 11.9 For Loops 11.11 If/Else Statements 11.12 While Loops in Karel 11.13 Control Structures Example 11.4 Functions in Karel 11.14 More Karel Examples and Testing 11.16 Karel Challenges
 Standard 9.1 Functions and Parameters 1 9.2 Functions and Parameters 2 9.3 Functions and Parameters 3 9.4 Functions and Return Values 1 9.5 Functions and Return Values 2
 Standard 1.8 Functions 11.9 For Loops 11.11 If/Else Statements 11.12 While Loops in Karel 11.13 Control Structures Example 11.4 Functions in Karel 11.14 More Karel Examples and Testing 11.16 Karel Challenges
 Standard 11.1 Functions and Parameters 1 11.2 Functions and Parameters 2 11.3 Functions and Parameters 3 11.4 Functions and Return Values 1 11.5 Functions and Return Values 2
 Standard 3.8 Functions
 Standard 6.2 Programming with Karel
 Standard 17.1 Functions and Parameters 1 17.2 Functions and Parameters 2 17.3 Functions and Parameters 3 17.4 Functions and Return Values 1 17.5 Functions and Return Values 2
 Standard 6.1 Functions 6.2 Functions and Parameters 8.4 Strings and For Loops 8.5 The in Keyword 9.3 For Loops and Lists 9.4 List Methods 18.8 Functions
 Standard 9.1 Functions and Parameters 1 9.2 Functions and Parameters 2 9.3 Functions and Parameters 3 9.4 Functions and Return Values 1 9.5 Functions and Return Values 2
 Standard 1.8 Functions 6.9 For Loops 6.11 If/Else Statements 6.12 While Loops in Karel 6.13 Control Structures Example 6.4 Functions in Karel 6.14 More Karel Examples and Testing 6.16 Karel Challenges
 Standard 12.1 Functions and Parameters 1 12.2 Functions and Parameters 2 12.3 Functions and Parameters 3 12.4 Functions and Return Values 1 12.5 Functions and Return Values 2
 Standard 8.1 Functions and Parameters 1 8.2 Functions and Parameters 2 8.3 Functions and Parameters 3 8.4 Functions and Return Values 1 8.5 Functions and Return Values 2
 Standard 23.2 Programming with Karel
 Standard 1.8 Functions 11.9 For Loops 11.11 If/Else Statements 11.12 While Loops in Karel 11.13 Control Structures Example 11.4 Functions in Karel 11.14 More Karel Examples and Testing 11.16 Karel Challenges
 Standard 9.1 Functions and Parameters 1 9.2 Functions and Parameters 2 9.3 Functions and Parameters 3 9.4 Functions and Return Values 1 9.5 Functions and Return Values 2
 Standard 9.1 Functions and Parameters 1 9.2 Functions and Parameters 2 9.3 Functions and Parameters 3 9.4 Functions and Return Values 1 9.5 Functions and Return Values 2
 Standard 1.8 Functions 11.9 For Loops 11.11 If/Else Statements 11.12 While Loops in Karel 11.13 Control Structures Example 11.4 Functions in Karel 11.14 More Karel Examples and Testing 11.16 Karel Challenges
 Standard 9.1 Functions and Parameters 1 9.2 Functions and Parameters 2 9.3 Functions and Parameters 3 9.4 Functions and Return Values 1 9.5 Functions and Return Values 2
 Standard 1.8 Functions 11.9 For Loops 11.11 If/Else Statements 11.12 While Loops in Karel 11.13 Control Structures Example 11.4 Functions in Karel 11.14 More Karel Examples and Testing 11.16 Karel Challenges
 Standard 9.1 Functions and Parameters 1 9.2 Functions and Parameters 2 9.3 Functions and Parameters 3 9.4 Functions and Return Values 1 9.5 Functions and Return Values 2
 Standard 1.8 Functions 11.9 For Loops 11.11 If/Else Statements 11.12 While Loops in Karel 11.13 Control Structures Example 11.4 Functions in Karel 11.14 More Karel Examples and Testing 11.16 Karel Challenges
 Standard 1.8 Functions 14.9 For Loops 14.11 If/Else Statements 14.12 While Loops in Karel 14.13 Control Structures Example 14.4 Functions in Karel 14.14 More Karel Examples and Testing 14.16 Karel Challenges
 Standard 9.1 Functions and Parameters 1 9.2 Functions and Parameters 2 9.3 Functions and Parameters 3 9.4 Functions and Return Values 1 9.5 Functions and Return Values 2
 Standard 1.8 Functions 11.9 For Loops 11.11 If/Else Statements 11.12 While Loops in Karel 11.13 Control Structures Example 11.4 Functions in Karel 11.14 More Karel Examples and Testing 11.16 Karel Challenges
 Standard 3.8 Functions 8.4 Functions in Karel 8.9 For Loops 8.11 If/Else Statements 8.12 While Loops in Karel 8.13 Control Structures Example 8.14 More Karel Examples and Testing 8.16 Karel Challenges
 Standard 3.8 Functions
 Standard 2.8 While Loops 2.9 Karel Challenges
 Standard 1.8 Functions 11.9 For Loops 11.11 If/Else Statements 11.12 While Loops in Karel 11.13 Control Structures Example 11.4 Functions in Karel 11.14 More Karel Examples and Testing 11.16 Karel Challenges
 Standard 9.1 Functions and Parameters 1 9.2 Functions and Parameters 2 9.3 Functions and Parameters 3 9.4 Functions and Return Values 1 9.5 Functions and Return Values 2
 Standard 24.1 Functions and Parameters 1 24.1 Functions and Parameters 1 24.2 Functions and Parameters 2 24.2 Functions and Parameters 2 24.3 Functions and Parameters 3 24.3 Functions and Parameters 3 24.4 Functions and Return Values 1 24.4 Functions and Return Values 1 24.5 Functions and Return Values 2 24.5 Functions and Return Values 2
 Standard 16.2 Programming with Karel
 Standard 7.1 Functions and Parameters 1 7.2 Functions and Parameters 2 7.3 Functions and Parameters 3 7.4 Functions and Return Values 1 7.5 Functions and Return Values 2
 Standard 2.10 If Statements
 Standard 21.2 Programming with Karel
 Standard 3.3 Functions
 Standard 9.1 Functions and Parameters 1 9.2 Functions and Parameters 2 9.3 Functions and Parameters 3 9.4 Functions and Return Values 1 9.5 Functions and Return Values 2
 Standard 9.1 Functions and Parameters 1 9.2 Functions and Parameters 2 9.3 Functions and Parameters 3 9.4 Functions and Return Values 1 9.5 Functions and Return Values 2
 Standard 1.8 Functions 11.9 For Loops 11.11 If/Else Statements 11.12 While Loops in Karel 11.13 Control Structures Example 11.4 Functions in Karel 11.14 More Karel Examples and Testing 11.16 Karel Challenges
 Standard 13.14 Functions and Parameters 1 13.15 Functions and Parameters 2 13.16 Functions and Return Values 1 13.17 Functions and Return Values 2
 Standard 1.8 While Loops 1.9 Karel Challenges
 Standard 1.1 Functions 1.2 Functions and Parameters 2.4 Strings and For Loops 2.5 The in Keyword 4.3 For Loops and Lists 4.4 List Methods
 Standard 3.3 Functions
 Standard 3.3 Functions
 Standard 9.1 Functions 9.2 Functions and Parameters 10.4 Strings and For Loops 10.5 The in Keyword 12.3 For Loops and Lists 12.4 List Methods
 Standard 11.7 Functions
 Standard 1.1 Functions 1.2 Functions and Parameters 2.4 Strings and For Loops 2.5 The in Keyword 4.3 For Loops and Lists 4.4 List Methods
 Standard 8.14 Functions and Parameters 1 8.15 Functions and Parameters 2 8.16 Functions and Return Values 1 8.17 Functions and Return Values 2
 Standard 12.14 Functions and Parameters 1 12.15 Functions and Parameters 2 12.16 Functions and Return Values 1 12.17 Functions and Return Values 2
 Standard 9.1 Functions and Parameters 1 9.2 Functions and Parameters 2 9.3 Functions and Parameters 3 9.4 Functions and Return Values 1 9.5 Functions and Return Values 2
 Standard 2.2 A Day at the Park
 Standard 1.3 A Day at the Carnival 1.4 Under the Sea
 Standard 1.8 While Loops 1.9 Karel Challenges
 Standard 5.1 Functions 5.2 Functions and Parameters 6.3 For Loops and Lists 6.4 List Methods