12 | | ''Test for potential students:'' |
13 | | Task 1: |
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/> |
| 13 | **''Test for potential students:''** |
| 14 | |
| 15 | ''Task 1:'' |
| 16 | Write a Python program to construct an array by repeating. |
| 17 | |
| 18 | Expected Output: |
| 19 | |
| 20 | Original array [1, 2, 3, 4] |
| 21 | |
| 22 | Repeating 2 times [1 2 3 4 1 2 3 4] |
| 23 | |
| 24 | Repeating 3 times [1 2 3 4 1 2 3 4 1 2 3 4] |