Back to Freecodecamp

Task 28

curriculum/challenges/english/blocks/learn-how-to-use-basic-programming-vocabulary-in-conversations/662b803fd9ddc00e943e350e.md

latest2.1 KB
Original Source
<!-- (Audio) Sophie: In Python, you declare variables by using the variable name and the assignment operator. For example, you can declare a variable like this: name = 'Sophie'. -->

--description--

An assignment operator in programming is used to assign a value to a variable. In many programming languages, including Python, the assignment operator is represented by the = symbol. It tells the computer to store the value on the right side of the = into the variable named on the left side. For example, number = 10 assigns the value 10 to the variable number.

--fillInTheBlank--

--sentence--

In Python, you declare variables by using the variable name and the BLANK BLANK. For example, you can declare a variable like this: name = 'Sophie'.

--blanks--

assignment

--feedback--

It refers to the action of setting values in programming.


operator

--feedback--

This word is used in programming to refer to a symbol that performs an operation, in this case, assigning a value.

--scene--

json
{
  "setup": {
    "background": "company2-breakroom.png",
    "characters": [
      {
        "character": "Sophie",
        "position": {
          "x": 50,
          "y": 0,
          "z": 1.4
        },
        "opacity": 0
      }
    ],
    "audio": {
      "filename": "5.1-1.mp3",
      "startTime": 1,
      "startTimestamp": 30.84,
      "finishTimestamp": 39.96
    }
  },
  "commands": [
    {
      "character": "Sophie",
      "opacity": 1,
      "startTime": 0
    },
    {
      "character": "Sophie",
      "startTime": 1,
      "finishTime": 5.78,
      "dialogue": {
        "text": "In Python, you declare variables by using the variable name and the assignment operator.",
        "align": "center"
      }
    },
    {
      "character": "Sophie",
      "startTime": 5.78,
      "finishTime": 10.12,
      "dialogue": {
        "text": "For example, you can declare a variable like this: name = 'Sophie'.",
        "align": "center"
      }
    },
    {
      "character": "Sophie",
      "opacity": 0,
      "startTime": 10.62
    }
  ]
}