Skip to content

Commit a5ecde4

Browse files
committed
fix multiline strings
1 parent 9b9b47f commit a5ecde4

File tree

14 files changed

+35
-25
lines changed

14 files changed

+35
-25
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Learning a new programming language traditionally begins with 'Hello, world!'. It is a simple program that both displays a greeting on the screen, and introduces the new language, showing its syntax and its program structure.
22

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

77
This tradition is over forty years old, so we're not thinking of breaking it any time soon. In the first lesson, we'll write a program called `Hello, world!`. To do this, you have to give the computer a special command. In Python, it's: `print()`.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
Display three names, one after another: _Robert_, _Stannis_, _Renly_. The result should be that the following is shown on the screen:
22

3-
<pre class='hexlet-basics-output'>
3+
```text
44
Robert
55
Stannis
66
Renly
7-
</pre>
7+
```
88

99
For each name, use Python's own `print()` call.

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ That's why our site says "Tests passed" when you solve the problem correctly.
1313

1414
Here is a simple example: in a future lesson, you will need to write a function that performs calculations and gives the answer. Suppose you make a small mistake and the function gives you the wrong number. The system will answer something like this:
1515

16-
<pre class='hexlet-basics-output'>AssertionError: '10' != '35'</pre>
16+
```text
17+
AssertionError: '10' != '35'
18+
```
1719

1820
The most important thing begins after the colon: "the value of '10' is not equal to the expected value of '35'". That is, the correct function should have produced 35, but the current solution does not work correctly and produces 10.
1921

modules/10-basics/50-syntax-errors/en/EXERCISE.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,6 @@ This assignment is not directly related to the lesson. But it will be useful to
33

44
Display:
55

6-
<pre class='hexlet-basics-output'>What Is Dead May Never Die</pre>
6+
```text
7+
What Is Dead May Never Die
8+
```

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ print(3 + 4)
2222

2323
After launching, the result will appear on the screen:
2424

25-
<pre class='hexlet-basics-output'>
25+
```text
2626
7
27-
</pre>
27+
```
2828

2929
In addition to addition, the following operations are available:
3030

modules/25-strings/10-quotes/en/EXERCISE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ Write a program that prints:
77

88
The program should display this exact phrase on the screen. Note the quotes at the beginning and the end of the phrase:
99

10-
<pre class='hexlet-basics-output'>
10+
```text
1111
"Khal Drogo's favorite word is "athjahakar""
12-
</pre>
12+
```

modules/30-variables/14-errors/en/EXERCISE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Find an undeclared variable in the program and declare it by assigning the value
33

44
After running the program, the result on the screen should look like this:
55

6-
<pre class='hexlet-basics-output'>
6+
```text
77
Targaryen
88
and
99
Dragon
10-
</pre>
10+
```

modules/30-variables/18-variable-concatenation/en/EXERCISE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ Use the variables `info` and `intro` for the body of the message, with the secon
99

1010
The result should look like this:
1111

12-
<pre class='hexlet-basics-output'>
12+
```text
1313
Hello, Joffrey!
1414
Here is important information about your account security.
1515
We couldn't verify your mother's maiden name.
16-
</pre>
16+
```
1717

1818
Perform the task using only two `print()` statements.

modules/30-variables/20-magic-numbers/en/EXERCISE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ Get rid of the magic numbers by creating new variables and then displaying the t
1515

1616
You'll get this:
1717

18-
<pre class='hexlet-basics-output'>
18+
```text
1919
Rooms in King Balon's Castles:
2020
102
21-
</pre>
21+
```
2222

2323
The variable names should give the meaning of the numbers, but should also be short and succinct enough to be readable.
2424

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
Print the string, `Do you want to eat, <name>? Where the variable `stark` should be used instead of `<name>`. The output should look like this:
33

4-
<pre class='hexlet-basics-output'>
4+
```text
55
Do you want to eat, Arya?
6-
</pre>
6+
```

0 commit comments

Comments
 (0)