Movatterモバイル変換


[0]ホーム

URL:


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

Commitac33388

Browse files
authored
Merge pull requestwilfredinni#67 from matteodem/patch-1
Fix str.format docs syntax error
2 parents1b1fd1d +1d5f21d commitac33388

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎blog_files/pysheet.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2338,7 +2338,7 @@ Python 3 introduced a new way to do string formatting that was later back-ported
23382338

23392339
```python
23402340
>>> name='John'
2341-
>>> age=20'
2341+
>>> age=20
23422342

23432343
>>>"Hello I'm{}, my age is{}".format(name, age)
23442344
"Hello I'm John, my age is 20"

‎markdown/11_String_Formatting.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Python 3 introduced a new way to do string formatting that was later back-ported
3333

3434
```python
3535
name='John'
36-
age=20'
36+
age=20
3737

3838
"Hello I'm {}, my age is {}".format(name, age)
3939
```

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp