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 f21548f

Browse files
committed
13.4-Making_HTML_with_filter_and_maP
1 parent 6caec3e commit f21548f

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 によって変換されたページ (->オリジナル) /