# Multiplicación de texto por un número

Nuevamente cambie el tipo de la variable a1 a texto y coloque el valor 123 entre comillas. a2 seguirá siendo un número, pero cambie el valor a uno pequeño, digamos, a 3. En el bloque “asignar valor a la variable” indique como resultado la multiplicación de estas dos variables.

![](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)

Es decir, intente multiplicar texto por un número.

Ejecute el script.

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

El texto “123” se repitió tres veces, es decir, la cadena se multiplicó por 3. En la práctica, esto rara vez es necesario, pero como ejemplo es interesante ver cómo el robot procesa diferentes tipos de datos en varias combinaciones.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sherparpa.ru/es/sherpa-rpa/sherpa-designer/rabota-v-sherpa-designer/paneli-svoistv-i-peremennykh-i-rabota-s-nimi/primery-ispolzovaniya-peremennoi-i-raboty-s-vyrazheniyami/umnozhenie-teksta-na-chislo.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
