diff --git a/guide/english/python/python-f-strings/index.md b/guide/english/python/python-f-strings/index.md index 592aaeb7de..201f571575 100644 --- a/guide/english/python/python-f-strings/index.md +++ b/guide/english/python/python-f-strings/index.md @@ -25,6 +25,25 @@ print(greeting) Hello! Jon Snow ``` +### Will also work with capital letter F: + +#### Input + +```python +author = 'George R. R. Martin' +title = 'A Game of Thrones' +book = F"'{book}' by {author}" +print(book) +``` + +#### Output + +``` +'A Game of Thrones' by George R. R. Martin +``` + + + ### Evaluate an expression in a string: #### Input