Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dzencot committed Jul 29, 2024
1 parent ef860db commit ce94e3c
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions drafts/30-variables/20-magic-numbers/description.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ instructions: |
You've come across this code, which prints the total number of rooms owned by the present king:
```python
king = "Rooms in King Balon's Castle:"
king = "Rooms in King Balon's Castles:"
print(king)
print(6 * 17)
```
Expand All @@ -63,7 +63,7 @@ instructions: |
You'll get this:
<pre class='hexlet-basics-output'>
Rooms in King Balon's Castle:
Rooms in King Balon's Castles:
102
</pre>
Expand Down
4 changes: 2 additions & 2 deletions modules/30-variables/20-magic-numbers/description.es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ instructions: |
Te has encontrado con este código que muestra en pantalla la cantidad total de habitaciones en posesión del actual rey:
```python
king = "Rooms in King Balon's Castle:"
king = "Rooms in King Balon's Castles:"
print(king)
print(6 * 17)
```
Expand All @@ -63,7 +63,7 @@ instructions: |
El resultado debería ser:
<pre class='hexlet-basics-output'>
Rooms in King Balon's Castle:
Rooms in King Balon's Castles:
102
</pre>
Expand Down
4 changes: 2 additions & 2 deletions modules/30-variables/20-magic-numbers/en/EXERCISE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
You've come across this code, which prints the total number of rooms owned by the present king:

```python
king = "Rooms in King Balon's Castle:"
king = "Rooms in King Balon's Castles:"
print(king)
print(6 * 17)
```
Expand All @@ -16,7 +16,7 @@ Get rid of the magic numbers by creating new variables and then displaying the t
You'll get this:

<pre class='hexlet-basics-output'>
Rooms in King Balon's Castle:
Rooms in King Balon's Castles:
102
</pre>

Expand Down
4 changes: 2 additions & 2 deletions modules/30-variables/20-magic-numbers/es/EXERCISE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Te has encontrado con este código que muestra en pantalla la cantidad total de habitaciones en posesión del actual rey:

```python
king = "Rooms in King Balon's Castle:"
king = "Rooms in King Balon's Castles:"
print(king)
print(6 * 17)
```
Expand All @@ -16,7 +16,7 @@ Elimina los números mágicos creando nuevas variables y luego muestra el texto
El resultado debería ser:

<pre class='hexlet-basics-output'>
Rooms in King Balon's Castle:
Rooms in King Balon's Castles:
102
</pre>

Expand Down
2 changes: 1 addition & 1 deletion modules/30-variables/20-magic-numbers/index.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
king = "Rooms in King Balon's Castle:"
king = "Rooms in King Balon's Castles:"

# BEGIN
number_of_castles = 6
Expand Down
4 changes: 2 additions & 2 deletions modules/30-variables/20-magic-numbers/ru/EXERCISE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Вы столкнулись с таким кодом, который выводит на экран общее количество комнат во владении нынешнего короля:

```python
king = "Rooms in King Balon's Castle:"
king = "Rooms in King Balon's Castles:"
print(king)
print(6 * 17)
```
Expand All @@ -16,7 +16,7 @@ print(6 * 17)
Получится так:

<pre class='hexlet-basics-output'>
Rooms in King Balon's Castle:
Rooms in King Balon's Castles:
102
</pre>

Expand Down
2 changes: 1 addition & 1 deletion modules/30-variables/20-magic-numbers/test_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@


def test(capsys):
expected = "Rooms in King Balon's Castle:\n102"
expected = "Rooms in King Balon's Castles:\n102"
expect_output(capsys, expected)

0 comments on commit ce94e3c

Please sign in to comment.