Formated string
Formatted string() function.
str.format()(F' string is one of the string formatting methods in Python3, which allows multiple substitutions and value formatting. This method lets us concatenate elements within a string through positional formatting.
You use it to visualize the final outcome after you print and insert values as well
We can use this
Once the programming and the text get more complicated it will harder to visualize the outcome
that means we need the f' and the curly brackets {} to the string
Formated string
Reviewed by ohhhvictor
on
May 04, 2019
Rating:
No comments: