Skip to content

Commit 4f968a5

Browse files
authored
Update pascal triangle better structured.py
1 parent 4c8b0f5 commit 4f968a5

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

pascal triangle better structured.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,11 @@ def printit(n):
5353
print(i)
5454

5555
printit(6)
56-
56+
#the previous version:
57+
#[1]
58+
#[1,1]
59+
#[1,2,1]
60+
#this version:
61+
#['','',1,'','']
62+
#['',1,'',1,'','']
63+
#[1,'',2,'',1,'']

0 commit comments

Comments
 (0)