Skip to content

Commit 31bfb1b

Browse files
committed
fix code output
1 parent 3bf56b0 commit 31bfb1b

File tree

67 files changed

+150
-128
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+150
-128
lines changed

modules/10-basics/10-hello-world/en/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
As is our tradition, we'll begin by writing the 'Hello, World!' program. The program will print the following text:
22

3-
<pre class='hexlet-basics-output'>
3+
```text
44
Hello, World!
5-
</pre>
5+
```
66

77
Output to the screen is done with a special command `echo`, followed by a single or double-quoted string to be output. Be sure to put a semicolon at the end.
88

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Print these three names, one after the other: _Robert_, _Stannis_, _Renly_. As a result, the editor should print:
22

3-
<pre class='hexlet-basics-output'>
3+
```text
44
RobertStannisRenly
5-
</pre>
5+
```
66

77
Use a `print_r()` call for each name.

modules/10-basics/40-instructions/en/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ print_r('Dracarys!');
1111

1212
When you run this code, two sentences are displayed in sequence:
1313

14-
<pre class='hexlet-basics-output'>
14+
```text
1515
Mother of Dragons. Dracarys!
16-
</pre>
16+
```
1717

1818
Theoretically, the instructions can be written one after the other without moving them to a new line:
1919

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Muestra en pantalla consecutivamente tres nombres: _Robert_, _Stannis_, _Renly_. El resultado en pantalla debe ser:
22

3-
<pre class='hexlet-basics-output'>
3+
```text
44
RobertStannisRenly
5-
</pre>
5+
```
66

77
Utiliza una llamada `print_r()` para cada nombre.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Выведите на экран друг за другом три имени: _Robert_, _Stannis_, _Renly_. В результате на экране должно отобразиться:
22

3-
<pre class='hexlet-basics-output'>
3+
```text
44
RobertStannisRenly
5-
</pre>
5+
```
66

77
Для каждого имени используйте свой собственный вызов `print_r()`.

modules/10-basics/45-testing/en/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ That is why our website says, “Tests passed” once you've done the exercise c
1313

1414
Here's a simple example, say you want to print the string `Hello, World!`. Now imagine you make a small mistake and the function displays a different value. In that case, the system will give you the following message:
1515

16-
<pre class='hexlet-basics-output'>
16+
```text
1717
-'Hello, World!'
1818
+'ello, World!'
1919
2020
FAILURES!
2121
Tests: 1, Assertions: 1, Failures: 1.
22-
</pre>
22+
```
2323

2424
A hint appears on the screen. The `+` sign on it indicates what your code printed. The `-` sign is what was expected. By comparing the two values, you can see the error. In the example above, you can see that the letter _H_ is missing from the output.
2525

modules/10-basics/45-testing/es/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ Es por eso que nuestro sitio web muestra "Pruebas superadas" cuando resuelves co
1313

1414
Aquí tienes un ejemplo sencillo: imprimir la cadena `Hello, World!`. Supongamos que cometiste un pequeño error y la función muestra otro valor en la pantalla. El sistema responderá algo así:
1515

16-
<pre class='hexlet-basics-output'>
16+
```text
1717
-'Hello, World!'
1818
+'ello, World!'
1919
2020
¡FALLOS!
2121
Pruebas: 1, Afirmaciones: 1, Fallos: 1.
22-
</pre>
22+
```
2323

2424
En la pantalla aparece una pista. El signo `+` indica lo que imprimió tu código. El signo `-` indica lo que se esperaba. Al comparar estos dos valores, puedes ver el error. En el ejemplo anterior, se puede ver que falta la letra _H_ en la salida.
2525

modules/10-basics/45-testing/ru/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313

1414
Вот простой пример: необходимо распечатать строку `Hello, World!`. Предположим, вы допустили небольшую ошибку, и функция вывела на экран другое значение. Система ответит примерно так:
1515

16-
<pre class='hexlet-basics-output'>
16+
```text
1717
-'Hello, World!'
1818
+'ello, World!'
1919
2020
FAILURES!
2121
Tests: 1, Assertions: 1, Failures: 1.
22-
</pre>
22+
```
2323

2424
На экране появляется подсказка. На ней знаком `+` обозначено то, что распечатал ваш код. Знаком `-` – то, что ожидалось. Сравнивая эти два значения, можно увидеть ошибку. В примере выше видно, что в выводе пропущена буква _H_.
2525

modules/20-arithmetics/20-basic/en/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ print_r(3 + 4);
2626

2727
After we run the program, the result will appear on the screen:
2828

29-
<pre class='hexlet-basics-output'>
29+
```text
3030
7
31-
</pre>
31+
```
3232

3333
Besides addition, we can also use the following operations:
3434

modules/20-arithmetics/30-composition/en/EXERCISE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Write a program that calculates and prints the value of this expression:
33

4-
```
4+
```text
55
8 / 2 + 5 - -3 / 2
66
```
77

0 commit comments

Comments
 (0)