Closing Parentheses (#21481)

The parentheses were opened but not closed
pull/24488/head
jgowman 2018-10-20 13:18:36 -04:00 committed by Aditya
parent 43cf17dcd5
commit bda61b730d
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ In Python version 3.6, a new method of formatting strings was implemented. The n
The use of f-string allows the programmer to dynamically insert a variable into a string in a clean and concise manner. In addition to inserting variables into a string this feature also also provides the ability for a programmer to evaluate expressions, join the contents of collection, and even invoke functions within the f-string.
To perform these dynamic behaviours within an f-string we wrap them inside curly brackets within the string, and prepend a lower case f to the beginning of the string (before the opening quote.
To perform these dynamic behaviours within an f-string we wrap them inside curly brackets within the string, and prepend a lower case f to the beginning of the string (before the opening quote).
## Examples
### Dynamically inserting a variable into a string at runtime: