Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions Numeric Patterns/numericpattern134.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,3 @@
count+=5

print()

Enter the no of rows:
5
1 2 3 4 5
11 12 13 14 15
21 22 23 24 25
16 17 18 19 20
26 27 28 29 30
9 changes: 0 additions & 9 deletions Numeric Patterns/numericpattern78.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,3 @@ def pypart2(n):
print("Enter the number of rows: ")
n = int(input())
pypart2(n)


Enter the number of rows:
5
1
2 4
3 6 9
4 8 12 16
5 10 15 20 25
12 changes: 1 addition & 11 deletions Numeric Patterns/numericpattern93.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,4 @@ def triangle(n):

print("Enter the number of rows: ")
n = int(input())
triangle(n


# OUTPUT
# Enter the number of rows:
# 5
# 1
# 2 2
# 3 3 3
# 4 4 4 4
# 5 5 5 5 5
triangle(n)
11 changes: 0 additions & 11 deletions Numeric Patterns/numericpattern98.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

def pattern(n):
count = 0
for i in range(n):
Expand All @@ -13,13 +12,3 @@ def pattern(n):
print("Enter the number of rows: ")
n = int(input())
pattern(n)

OUTPUT

Enter the number of rows:
5
1
333
55555
7777777
999999999
2 changes: 1 addition & 1 deletion Symbol Patterns/symbolpattern12.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[13:04, 23/01/2022] Mahak Garg: height = int(input())
height = int(input())

for i in range(1, height+1):

Expand Down
2 changes: 1 addition & 1 deletion Symbol Patterns/symbolpattern123.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

for j in range(1,height+1):

if(i == 1 or j = 1 or i == j):
if(i == 1 or j == 1 or i == j):
print("*",end=" ")

else:
Expand Down
2 changes: 1 addition & 1 deletion Symbol Patterns/symbolpattern13.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[13:04, 23/01/2022] Mahak Garg: height = int(input())
height = int(input())

for i in range(1, height+1):

Expand Down