# Multiplicação de texto por um número

Novamente, altere o tipo da variável a1 para texto e coloque o valor 123 entre aspas. a2 permanecerá um número, mas altere o valor para um pequeno, digamos, 3. No bloco “atribuir valor à variável”, como resultado, indique a multiplicação dessas duas variáveis.

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

Ou seja, tente multiplicar texto por um número.

Execute o script.

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

O texto “123” se repetiu três vezes, ou seja, a string foi multiplicada por 3. Na prática, isso é raro, mas como exemplo, é interessante ver como o robô processa diferentes tipos de dados em várias combinações.


---

# 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/pt/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.
