14 | | Write a Python program to construct an array by repeating. |
15 | | Sample array: [1, 2, 3, 4] |
16 | | Expected Output: |
17 | | Original array |
18 | | [1, 2, 3, 4] |
19 | | Repeating 2 times |
20 | | [1 2 3 4 1 2 3 4] |
21 | | Repeating 3 times |
22 | | [1 2 3 4 1 2 3 4 1 2 3 4] |
| 14 | Write a Python program to construct an array by repeating.<br/> |
| 15 | Sample array: [1, 2, 3, 4]<br/> |
| 16 | Expected Output:<br/> |
| 17 | Original array <br/> |
| 18 | [1, 2, 3, 4] <br/> |
| 19 | Repeating 2 times<br/> |
| 20 | [1 2 3 4 1 2 3 4]<br/> |
| 21 | Repeating 3 times <br/> |
| 22 | [1 2 3 4 1 2 3 4 1 2 3 4]<br/> |