Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f799884

Browse files
Merge pull request #17 from GanPhua/patch-1
Update strings.md
2 parents f0455ad + 1ca21eb commit f799884

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎markdown-version/strings.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ There's a new method to interpolate the strings
3535
* The method is called the F-strings this will help you convert the int value into a string
3636
```Python
3737
x = 10
38-
print(f"I have told you " {x} times to clean the floor correctly")
38+
print(f"I have told you {x} times to clean the floor correctly")
3939
# This will print I have told you 10 times to clean the floor correctly
4040
# This a new way of interpolating string
4141
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
42+
# This an old way of doing it and its applicable in **python 2.7**
4343
```
4444

4545
#### String Index

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /