diff --git a/markdown-version/strings.md b/markdown-version/strings.md index 72bfdd6..47fe2d3 100644 --- a/markdown-version/strings.md +++ b/markdown-version/strings.md @@ -35,11 +35,11 @@ There's a new method to interpolate the strings * The method is called the F-strings this will help you convert the int value into a string ```Python x = 10 -print(f"I have told you " {x} times to clean the floor correctly") +print(f"I have told you {x} times to clean the floor correctly") # This will print I have told you 10 times to clean the floor correctly # This a new way of interpolating string y = 'I have told you {x} times to clean the floor correctly'.format(x) -# This an old way of doing it and its applicable in python 2.7 +# This an old way of doing it and its applicable in **python 2.7** ``` #### String Index