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

Commit65c8a8c

Browse files
authored
Update structure.rst - fix indentation bug
1 parent0502ad1 commit65c8a8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎docs/writing/structure.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,7 @@ The map function can be even faster than a list comprehension in some cases.
811811
# create a concatenated string from 0 to 19 (e.g. "012..1819")
812812
nums=""
813813
for ninrange(20):
814-
nums+=str(n)# slow and inefficient
814+
nums+=str(n)# slow and inefficient
815815
print nums
816816
817817
**Good**
@@ -821,7 +821,7 @@ The map function can be even faster than a list comprehension in some cases.
821821
# create a concatenated string from 0 to 19 (e.g. "012..1819")
822822
nums= []
823823
for ninrange(20):
824-
nums.append(str(n))
824+
nums.append(str(n))
825825
print"".join(nums)# much more efficient
826826
827827
**Better**

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp