Skip to content

Commit 51638c0

Browse files
updated number formatting and changed txt to md
1 parent a44cb50 commit 51638c0

File tree

1 file changed

+31
-29
lines changed

1 file changed

+31
-29
lines changed

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

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

33
Print these patterns using loops:
44

5-
5+
```text
66
1. *****
77
*****
88
*****
@@ -24,14 +24,14 @@ Print these patterns using loops:
2424
*
2525
2626
27-
3. 1
27+
4. 1
2828
1 2
2929
1 2 3
30-
1 2 3 4
30+
1 2 3 4
3131
1 2 3 4 5
3232
3333
34-
4. *
34+
5. *
3535
**
3636
***
3737
****
@@ -43,75 +43,75 @@ Print these patterns using loops:
4343
*
4444
4545
46-
5. *
46+
6. *
4747
**
4848
***
4949
****
5050
*****
5151
5252
53-
6. *****
53+
7. *****
5454
****
5555
***
5656
**
5757
*
5858
5959
60-
7. *
60+
8. *
6161
***
6262
*****
6363
*******
6464
*********
6565
6666
67-
8. *********
67+
9. *********
6868
*******
6969
*****
7070
***
7171
*
7272
7373
74-
9. *
74+
10. *
7575
* *
7676
* * *
7777
* * * *
7878
* * * * *
7979
8080
81-
10. * * * * *
81+
11. * * * * *
8282
* * * *
8383
* * *
8484
* *
8585
*
8686
8787
88-
11. * * * * *
88+
12. * * * * *
8989
* * * *
9090
* * *
9191
* *
9292
*
93-
*
93+
*
9494
* *
9595
* * *
9696
* * * *
97-
* * * * *
97+
* * * * *
9898
9999
100-
12. *
100+
13. *
101101
* *
102102
* *
103103
* *
104104
*********
105105
106106
107-
13. *********
107+
14. *********
108108
* *
109109
* *
110110
* *
111111
*
112112
113113
114-
14. *
114+
15. *
115115
* *
116116
* *
117117
* *
@@ -122,14 +122,14 @@ Print these patterns using loops:
122122
*
123123
124124
125-
15. 1
125+
16. 1
126126
1 1
127127
1 2 1
128128
1 3 3 1
129129
1 4 6 4 1
130130
131131
132-
16. 1
132+
17. 1
133133
212
134134
32123
135135
4321234
@@ -138,19 +138,19 @@ Print these patterns using loops:
138138
1
139139
140140
141-
17. **********
141+
18. **********
142142
**** ****
143143
*** ***
144144
** **
145145
* *
146146
* *
147147
** **
148148
*** ***
149-
**** ****
149+
**** ****
150150
**********
151151
152152
153-
18. * *
153+
19. * *
154154
** **
155155
*** ***
156156
**** ****
@@ -161,29 +161,29 @@ Print these patterns using loops:
161161
* *
162162
163163
164-
19. ****
164+
20. ****
165165
* *
166166
* *
167167
* *
168168
****
169169
170-
20. 1
170+
21. 1
171171
2 3
172172
4 5 6
173173
7 8 9 10
174174
11 12 13 14 15
175175
176-
21. 1
176+
22. 1
177177
0 1
178178
1 0 1
179179
0 1 0 1
180180
1 0 1 0 1
181181
182-
22. * *
182+
23. * *
183183
* * * *
184184
* * *
185185
186-
23. * *
186+
24. * *
187187
** **
188188
* * * *
189189
* * * *
@@ -194,20 +194,22 @@ Print these patterns using loops:
194194
** **
195195
* *
196196
197-
24. *****
197+
25. *****
198198
* *
199199
* *
200200
* *
201201
*****
202202
203-
25. 1 1 1 1 1 1
203+
26. 1 1 1 1 1 1
204204
2 2 2 2 2
205205
3 3 3 3
206206
4 4 4
207207
5 5
208208
6
209209
210-
26. 1 2 3 4 17 18 19 20
210+
27. 1 2 3 4 17 18 19 20
211211
5 6 7 14 15 16
212212
8 9 12 13
213213
10 11
214+
215+
```

0 commit comments

Comments
 (0)