# Multiplying Text by a Number

Again, change the variable type of a1 to text and enclose the value 123 in quotes. a2 will remain a number, but change its value to a small one, say, to 3. In the "assign value to variable" block, specify the multiplication of these two variables as the result.

![](https://sherparpa.ru/wp-content/uploads/2024/02/2024-02-19_21-48-15.png)

![](https://sherparpa.ru/wp-content/uploads/2024/02/2024-02-19_21-48-47.png)

That is, try to multiply text by a number.

Run the script.

<figure><img src="https://sherparpa.ru/wp-content/uploads/2024/02/2024-02-19_21-52-18.png" alt=""><figcaption></figcaption></figure>

The text "123" was repeated three times, i.e., the string was multiplied by 3. In practice, this is rarely needed, but as an example, it is interesting to see how the robot processes different types of data in various combinations.
