DLT:
  • Use variables to store information
  • Apply knowledge of variables to change the value of a variable and declare multiple variables
  • Use and define strings
  • Use proper syntax for strings
  • Access properties of strings and perform other operations on strings (i.e., substring, search, concatenation)
  • Solve puzzle modules using variables

Vocabulary:
  • Variable: Variables are used to store data. Variables can have many types, such as integers, strings, or booleans, but you don’t have to declare what type the variable will be.
  • String: Strings are used to store text, such as names or sentences. You must enclose a string within single quotes or double quotes. Individual pieces of a string can be accessed using indices, where the first character is index 0.
  • Index: Index notation is used to identify the elements of any array or list, as well as strings. The item in the first position is identified as index 0.

Activities:
Tynker Python: Variables - In this lesson, students are introduced to strings and variables, which are crucial to building anything in Python. As students solve the puzzle modules, they'll learn how to apply variables to store information and apply strings to work with text. Due at the end of class today.