Movatterモバイル変換


[0]ホーム

URL:


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

Commitcc3b5ae

Browse files
authored
Merge pull requestalexmojaki#291 from alexmojaki/spanish-final
Final spanish translations
2 parentsf507b78 +9c2ab32 commitcc3b5ae

File tree

6 files changed

+271
-45
lines changed

6 files changed

+271
-45
lines changed

‎core/chapters/c08_nested_loops.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1217,7 +1217,7 @@ class double_subscripting(Step):
12171217
12181218
Take a good look at this syntax. If it looks new and fancy, it's not.
12191219
It's just the usual syntax for subscripting, applied twice.
1220-
Try it in birdseye to see how Python breaks it down into smaller pieces.
1220+
Try it in`birdseye` to see how Python breaks it down into smaller pieces.
12211221
"""
12221222

12231223
expected_code_source="birdseye"
@@ -1261,7 +1261,7 @@ def check(self):
12611261
Indexing works similarly on lists and strings.
12621262
Do you get an `index out of range` error? Is it for a string, or a list? Why?
12631263
Make sure you are not confusing the order of the list index and the string index.
1264-
Use birdseye if you're having trouble.
1264+
Use`birdseye` if you're having trouble.
12651265
"""
12661266
tests= [
12671267
(["abc","de","fghi","jklmn","o"],'n'),
@@ -1311,7 +1311,7 @@ def solution(self, strings: List[List[str]]):
13111311
First you need to access a sublist.
13121312
Then a string in that sublist.
13131313
Then a letter in that string.
1314-
Use birdseye if you're having trouble.
1314+
Use`birdseye` if you're having trouble.
13151315
"""
13161316

13171317
tests= [

‎core/translation.py‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,8 @@ def get(msgid, default):
5050

5151
result=translation.gettext(msgid)
5252
ifresult==msgid:
53-
# TODO remove misc_terms
5453
assert (
55-
msgid.startswith(("code_bits.","misc_terms."))
54+
msgid.startswith(("code_bits."))
5655
or"output_prediction_choices"inmsgid
5756
or".disallowed."inmsgid
5857
)
@@ -253,7 +252,7 @@ class Terms:
253252
expected_mode_birdseye= (
254253
"With your code in the editor, click the `birdseye` button."
255254
)
256-
expected_mode_snoop="With your code in the editor, click theSnoop button."
255+
expected_mode_snoop="With your code in the editor, click the`snoop` button."
257256
expected_mode_pythontutor= (
258257
"With your code in the editor, click the Python Tutor button."
259258
)
@@ -304,7 +303,7 @@ class Terms:
304303
305304
- Make sure the output is showing the problem you have and not something else.
306305
- Reduce your code to a **minimal** example. Remove any code that isn't directly related to the problem.
307-
- Run your code through theSnoop, Birdseye, and Python Tutor debuggers to understand what it's doing.
306+
- Run your code through the`snoop`, `birdseye`, and Python Tutor debuggers to understand what it's doing.
308307
- Search for your problem online.
309308
- Read [How do I ask a good question?](https://stackoverflow.com/help/how-to-ask)
310309

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp