Skip to content

Commit 162540b

Browse files
committed
Tweak page about Google
1 parent 4905c83 commit 162540b

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

backend/main/chapters/c06_lists.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,7 +1175,7 @@ class HowToFindInformationWithGoogleAndMore(Page):
11751175

11761176
class sum_list(Step):
11771177
"""
1178-
It's useful to know these functions, but it's not easy to learn them all, and there's many more. A more important skill is being able to look things up. For example, here are some typical ways you might Google the above functions if you forgot their names:
1178+
It's useful to know the functions we just covered, but it's not easy to learn them all, and there's many more. A more important skill is being able to look things up. For example, here are some typical ways you might Google the above functions if you forgot their names:
11791179
11801180
- `append`
11811181
- python add element to list
@@ -1184,9 +1184,6 @@ class sum_list(Step):
11841184
- python size of list
11851185
- python number of elements in list
11861186
- python how many characters in string
1187-
- `join`
1188-
- python combine list of strings with separator
1189-
- python add together list of strings with string in between
11901187
- `sum`
11911188
- python add list of numbers
11921189
- python total of numbers
@@ -1197,7 +1194,7 @@ class sum_list(Step):
11971194
- python get position of element
11981195
- python get index of value
11991196
1200-
Let's practice this skill now. Find a function/method that returns the value in a list which is bigger than any other value. For example, given the list `[21, 55, 4, 91, 62, 49]`, it will return `91`. You should write the answer in the shell as a single small expression. For example, if you were looking for the function `sum`, you could write `sum([21, 55, 4, 91, 62, 49])`. Don't solve this manually with a loop.
1197+
Let's practice this skill now. Find a function/method that returns the value in a list which is bigger than any other value. For example, given the list `[21, 55, 4, 91, 62, 49]`, it will return `91`. You should write the answer in the shell as a single small expression. For example, if you were looking for the function `sum`, you could write `sum([21, 55, 4, 91, 62, 49])`. Don't solve this manually with a loop. Note that the function you're looking for hasn't been mentioned here before.
12011198
"""
12021199

12031200
hints = """
@@ -1231,7 +1228,7 @@ class list_insert(Step):
12311228
12321229
[1, 2, 9, 3, 4, 5]
12331230
1234-
Replace the middle line (i.e. the call to `append`) with the right function/method call to do that.
1231+
Replace the middle line `nums.append(9)` with the right function/method call to do that.
12351232
"""
12361233

12371234
hints = """

0 commit comments

Comments
 (0)