Skip to content

Commit 1bd44a5

Browse files
authored
Update P05_Pattern.py
1 parent 339eba1 commit 1bd44a5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Programs/P05_Pattern.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,9 @@ def pattern3(level):
4343
print(' ' * counter + '*' * i)
4444
counter -= 1
4545

46-
# Alternate way
46+
# Alternate way to print pattern3
4747
# def pattern3(level):
4848
# for i in range(1, level+1):
49-
# print()
5049
# print((level-i) * ' ' + i * '*')
5150

5251
def pattern4(level):

0 commit comments

Comments
 (0)