Skip to content
Merged
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
2 changes: 1 addition & 1 deletion lectures/python_essentials.md
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ for line in data_file:
data_file.close()
```

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

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