In Kodable, learners practice storing strings, which are represented by colors. In Programming: In programming, strings allow programmers to easily store, find, and change information in a program. Variables have values that can change, or vary, just like a person’s last name can change when they get married, or a friend starts calling then by a new nickname. Think of a person as a variable here: a name is just like a string: it as a value that your brain uses to identify a person.
In Real Life: An easy way to think about strings in real life is to think about the way your brain stores people’s names. A string is made up of characters, and can include letters, words, phrases, or symbols.ĭefinition: Strings hold groups of characters, like a word or a phrase. A string is a type of value that can be stored in a variable.