Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion lectures/python_essentials.md
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,8 @@ data_file.close()

Here `format()` is a string method [used for inserting variables into strings](https://docs.python.org/3/library/string.html#formatspec).

**Issue: The text mentions using format() method, but the actual code uses f-strings. This might create confusion for learners?**

The reformatting of each line is the result of three different string methods,
the details of which can be left till later.

Expand Down Expand Up @@ -1090,4 +1092,4 @@ n = 100
```

```{solution-end}
```
```
Loading