Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7dfb037

Browse files
Merge pull request #73 from kiddopro/13.4-Making_HTML_with_filter_and_maP
13.4-Making_HTML_with_filter_and_maP
2 parents ba9c6f7 + f21548f commit 7dfb037

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

‎exercises/13.4-Making_HTML_with_filter_and_maP/README.es.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
## Resultado esperado:
88

99
```py
10-
<li>Red</li><li>Orange</li><li>Pink</li><li>Violet</li>
10+
['<li>Red</li>', '<li>Orange</li>', '<li>Pink</li>', '<li>Violet</li>']
1111
# Rojo - Naranjo - Rosado - Violeta
1212
```
1313

‎exercises/13.4-Making_HTML_with_filter_and_maP/README.md‎

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

1010
```py
1111
Expected:
12-
<li>Red</li><li>Orange</li><li>Pink</li><li>Violet</li>
12+
['<li>Red</li>', '<li>Orange</li>', '<li>Pink</li>', '<li>Violet</li>']
1313
```
1414

1515
## 💡 Hint:

‎exercises/13.4-Making_HTML_with_filter_and_maP/test.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
def test_output(capsys, app):
66
import app
77
captured = capsys.readouterr()
8-
assert "<li>Red</li><li>Orange</li><li>Pink</li><li>Violet</li>\n" in captured
8+
assert "['<li>Red</li>', '<li>Orange</li>', '<li>Pink</li>', '<li>Violet</li>']\n" in captured
99

1010
@pytest.mark.it("Create the function generate_li")
1111
def test_variable_exists(app):

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /