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 7de7c50

Browse files
Update app.py
1 parent 6a14b7b commit 7de7c50

File tree

1 file changed

+4
-4
lines changed
  • Medium-Questions/70-Pascals-triangle/Python

1 file changed

+4
-4
lines changed

‎Medium-Questions/70-Pascals-triangle/Python/app.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ def main():
3838
data.append(makeThisLevel(each))
3939

4040
max_len = len(data[-1])
41-
for each in data:
42-
for j in each:
43-
space = max_len - len(each)
44-
print(" " * (space //2), j, " " * (space //2), end="")
41+
for i in data:
42+
for j in i:
43+
space = max_len - len(i)
44+
print(" " * (space //2), j, " " * (space //2), end="")
4545
print("")
4646

4747

0 commit comments

Comments
(0)

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