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

Appearance settings

Commit cd4e864

Browse filesBrowse files
Fix typo and adjust text in warm-up exercise in the control flow notebook (empa-scientific-it#106)
Co-authored-by: edoardob90 <edoardob90@gmail.com>
1 parent 4186517 commit cd4e864
Copy full SHA for cd4e864

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎control_flow.ipynb

Copy file name to clipboardExpand all lines: control_flow.ipynb
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@
291291
"The syntax of a `for` loop is\n",
292292
"\n",
293293
"```python\n",
294-
"for taget in iterable:\n",
294+
"for target in iterable:\n",
295295
" body\n",
296296
"[else:\n",
297297
" suite]\n",
@@ -505,7 +505,7 @@
505505
" <h4><b>Hints</b></h4>\n",
506506
" <ul>\n",
507507
" <li>You can use the <code>math.sqrt</code> function to compute the square root of a number</li>\n",
508-
" <li>Be sure to check that it makes sense to compute the square root</li>\n",
508+
" <li>If a number does not have a square root in the real domain, you should skip it</li>\n",
509509
" </ul>\n",
510510
"</div>"
511511
]

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.