Back to Freecodecamp

Task 41

curriculum/challenges/english/blocks/learn-how-to-use-code-related-concepts-and-terms/663354f60aafd69a4c0138da.md

latest2.2 KB
Original Source
<!-- (Audio) Sophie: You can use the equals symbol to assign values to them. -->

--description--

The equals symbol (=) is commonly used for assignment. It's used to assign a value to a variable. The variable name is written on the left of the equals symbol, and the value you want to store in the variable is on the right.

For example, name = "Sophie"; assigns the string "Sophie" to the variable name.

To assign a value in programming means to give a specific value to a variable. The equals symbol (=) is commonly used for this purpose. When you assign a value to a variable, you are telling the program to remember that value for use later.

For example, age = 25 assigns the value 25 to the variable age.

--fillInTheBlank--

--sentence--

You can use the BLANK BLANK to BLANK BLANK to them.

--blanks--

equals

--feedback--

It refers to the = sign in programming, used for setting a variable to a specific value.


symbol

--feedback--

It refers to a graphical sign or character used to represent an operation or process in programming.


assign

--feedback--

It means to give a particular value to a variable. It's like telling the computer "this variable holds this data".


values

--feedback--

They are the actual data or information you want to store in a variable, like a number, text, or other types of data.

--scene--

json
{
  "setup": {
    "background": "company2-center.png",
    "characters": [
      {
        "character": "Sophie",
        "position": {
          "x": 50,
          "y": 0,
          "z": 1.4
        },
        "opacity": 0
      }
    ],
    "audio": {
      "filename": "5.2-3.mp3",
      "startTime": 1,
      "startTimestamp": 11.4,
      "finishTimestamp": 14.32
    }
  },
  "commands": [
    {
      "character": "Sophie",
      "opacity": 1,
      "startTime": 0
    },
    {
      "character": "Sophie",
      "startTime": 1,
      "finishTime": 3.92,
      "dialogue": {
        "text": "You can use the equals symbol to assign values to them.",
        "align": "center"
      }
    },
    {
      "character": "Sophie",
      "opacity": 0,
      "startTime": 4.42
    }
  ]
}