We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 515c33d commit 6374bb3Copy full SHA for 6374bb3
lectures/python_essentials.md
@@ -468,7 +468,7 @@ for line in data_file:
468
data_file.close()
469
```
470
471
-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).
472
473
The reformatting of each line is the result of three different string methods,
474
the details of which can be left till later.
0 commit comments