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.
2 parents f0455ad + 1ca21eb commit f799884Copy full SHA for f799884
markdown-version/strings.md
@@ -35,11 +35,11 @@ There's a new method to interpolate the strings
35
* The method is called the F-strings this will help you convert the int value into a string
36
```Python
37
x = 10
38
-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")
39
# This will print I have told you 10 times to clean the floor correctly
40
# This a new way of interpolating string
41
y = 'I have told you {x} times to clean the floor correctly'.format(x)
42
-# 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**
43
```
44
45
#### String Index
0 commit comments