Skip to content

Commit a51fb33

Browse files
Merge pull request kunal-kushwaha#110 from thatbeautifuldream/thatbeautifuldream-patch-1
thatbeautifuldream patch 1
2 parents 77fcf2c + fb1128c commit a51fb33

File tree

1 file changed

+31
-28
lines changed

1 file changed

+31
-28
lines changed

assignments/patterns.txt renamed to assignments/patterns.md

Lines changed: 31 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ Pattern Questions
22

33
Print these patterns using loops:
44

5+
```text
56
67
1. *****
78
*****
@@ -24,14 +25,14 @@ Print these patterns using loops:
2425
*
2526
2627
27-
3. 1
28+
4. 1
2829
1 2
2930
1 2 3
30-
1 2 3 4
31+
1 2 3 4
3132
1 2 3 4 5
3233
3334
34-
4. *
35+
5. *
3536
**
3637
***
3738
****
@@ -43,75 +44,75 @@ Print these patterns using loops:
4344
*
4445
4546
46-
5. *
47+
6. *
4748
**
4849
***
4950
****
5051
*****
5152
5253
53-
6. *****
54+
7. *****
5455
****
5556
***
5657
**
5758
*
5859
5960
60-
7. *
61+
8. *
6162
***
6263
*****
6364
*******
6465
*********
6566
6667
67-
8. *********
68+
9. *********
6869
*******
6970
*****
7071
***
7172
*
7273
7374
74-
9. *
75+
10. *
7576
* *
7677
* * *
7778
* * * *
7879
* * * * *
7980
8081
81-
10. * * * * *
82+
11. * * * * *
8283
* * * *
8384
* * *
8485
* *
8586
*
8687
8788
88-
11. * * * * *
89+
12. * * * * *
8990
* * * *
9091
* * *
9192
* *
9293
*
93-
*
94+
*
9495
* *
9596
* * *
9697
* * * *
97-
* * * * *
98+
* * * * *
9899
99100
100-
12. *
101+
13. *
101102
* *
102103
* *
103104
* *
104105
*********
105106
106107
107-
13. *********
108+
14. *********
108109
* *
109110
* *
110111
* *
111112
*
112113
113114
114-
14. *
115+
15. *
115116
* *
116117
* *
117118
* *
@@ -122,14 +123,14 @@ Print these patterns using loops:
122123
*
123124
124125
125-
15. 1
126+
16. 1
126127
1 1
127128
1 2 1
128129
1 3 3 1
129130
1 4 6 4 1
130131
131132
132-
16. 1
133+
17. 1
133134
212
134135
32123
135136
4321234
@@ -138,19 +139,19 @@ Print these patterns using loops:
138139
1
139140
140141
141-
17. **********
142+
18. **********
142143
**** ****
143144
*** ***
144145
** **
145146
* *
146147
* *
147148
** **
148149
*** ***
149-
**** ****
150+
**** ****
150151
**********
151152
152153
153-
18. * *
154+
19. * *
154155
** **
155156
*** ***
156157
**** ****
@@ -161,29 +162,29 @@ Print these patterns using loops:
161162
* *
162163
163164
164-
19. ****
165+
20. ****
165166
* *
166167
* *
167168
* *
168169
****
169170
170-
20. 1
171+
21. 1
171172
2 3
172173
4 5 6
173174
7 8 9 10
174175
11 12 13 14 15
175176
176-
21. 1
177+
22. 1
177178
0 1
178179
1 0 1
179180
0 1 0 1
180181
1 0 1 0 1
181182
182-
22. * *
183+
23. * *
183184
* * * *
184185
* * *
185186
186-
23. * *
187+
24. * *
187188
** **
188189
* * * *
189190
* * * *
@@ -194,20 +195,22 @@ Print these patterns using loops:
194195
** **
195196
* *
196197
197-
24. *****
198+
25. *****
198199
* *
199200
* *
200201
* *
201202
*****
202203
203-
25. 1 1 1 1 1 1
204+
26. 1 1 1 1 1 1
204205
2 2 2 2 2
205206
3 3 3 3
206207
4 4 4
207208
5 5
208209
6
209210
210-
26. 1 2 3 4 17 18 19 20
211+
27. 1 2 3 4 17 18 19 20
211212
5 6 7 14 15 16
212213
8 9 12 13
213214
10 11
215+
216+
```

0 commit comments

Comments
 (0)