Skip to content

Commit 8ddc005

Browse files
authored
Create printing pattern
1 parent 229f8d6 commit 8ddc005

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

printing pattern

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
rows = 5
2+
for row in range(1, rows+1):
3+
for column in range(1, row + 1):
4+
print(column, end=' ')
5+
print("")

0 commit comments

Comments
 (0)