File tree 12 files changed +26
-26
lines changed 12 files changed +26
-26
lines changed Original file line number Diff line number Diff line change 7
7
" # Code : Triangular Star Pattern\n " ,
8
8
" Print the following pattern for the given N number of rows.<br>\n " ,
9
9
" Pattern for N = 4<br>\n " ,
10
- " <br>\n " ,
10
+ " <br>\n " ,
11
11
" <br>\n " ,
12
12
" Note : There are no spaces between the stars.<br>\n " ,
13
13
" Input format :<br>\n " ,
19
19
" Sample Input 1:<br>\n " ,
20
20
" 5<br>\n " ,
21
21
" Sample Output 1:<br>\n " ,
22
- " <br>\n " ,
22
+ " <br>\n " ,
23
23
" Sample Input 2:<br>\n " ,
24
24
" 6<br>\n " ,
25
25
" Sample Output 2:<br>\n " ,
26
- " "
26
+ " "
27
27
]
28
28
},
29
29
{
Original file line number Diff line number Diff line change 10
10
" <br>Note : There is space after every star.\n " ,
11
11
" <br><b>Pattern for N = 7</b><br>\n " ,
12
12
" \n " ,
13
- " [](https://shareimage .xyz/image/iegGX)<br>\n " ,
13
+ " [](https://imgpress .xyz/image/iegGX)<br>\n " ,
14
14
" Note-Dote(.) represent the spaces <br>\n " ,
15
15
" Input format :<br>\n " ,
16
16
" Integer N (Total no. of rows)<br>\n " ,
21
21
" Sample Input :<br>\n " ,
22
22
" 11<br>\n " ,
23
23
" Sample Output :<br>\n " ,
24
- " [](https://shareimage .xyz/image/iehrw)"
24
+ " [](https://imgpress .xyz/image/iehrw)"
25
25
]
26
26
},
27
27
{
Original file line number Diff line number Diff line change 8
8
" Print the following pattern for the given number of rows.<br>\n " ,
9
9
" Note: N is always odd.<br>\n " ,
10
10
" Pattern for N = 5<br>\n " ,
11
- " <br>\n " ,
11
+ " <br>\n " ,
12
12
" The dots represent spaces.<br>\n " ,
13
13
" Input format :<br>\n " ,
14
14
" N (Total no. of rows and can only be odd)<br>\n " ,
Original file line number Diff line number Diff line change 8
8
" Print the following pattern for the given N number of rows.<br><br>\n " ,
9
9
" \n " ,
10
10
" Pattern for N = 4<br>\n " ,
11
- " <br>\n " ,
11
+ " <br>\n " ,
12
12
" The dots represent spaces.<br>\n " ,
13
13
" Input format :<br>\n " ,
14
14
" Integer N (Total no. of rows)<br>\n " ,
22
22
" Sample Input 1:<br>\n " ,
23
23
" 3<br>\n " ,
24
24
" Sample Output 1:<br>\n " ,
25
- " <br>\n " ,
25
+ " <br>\n " ,
26
26
" Sample Input 2:<br>\n " ,
27
27
" 4<br>\n " ,
28
28
" Sample Output 2:<br>\n " ,
29
- " <br>"
29
+ " <br>"
30
30
]
31
31
},
32
32
{
Original file line number Diff line number Diff line change 7
7
" # Code : Star Pattern\n " ,
8
8
" Print the following pattern<br>\n " ,
9
9
" Pattern for N = 4<br>\n " ,
10
- " <br>\n " ,
10
+ " <br>\n " ,
11
11
" The dots represent spaces.<br>\n " ,
12
12
" Input Format :<br>\n " ,
13
13
" N (Total no. of rows)<br>\n " ,
21
21
" Sample Input 1 :<br>\n " ,
22
22
" 3<br>\n " ,
23
23
" Sample Output 1 :<br>\n " ,
24
- " <br>\n " ,
24
+ " <br>\n " ,
25
25
" Note .The dots represent spaces.<br>\n " ,
26
26
" Sample Input 2 :<br>\n " ,
27
27
" 4<br>\n " ,
28
28
" Sample Output 2 :<br>\n " ,
29
- " <br>\n " ,
29
+ " <br>\n " ,
30
30
" Note .The dots represent spaces."
31
31
]
32
32
},
Original file line number Diff line number Diff line change 7
7
" # Code : Triangle of Numbers\n " ,
8
8
" Print the following pattern for the given number of rows.<br>\n " ,
9
9
" Pattern for N = 4<br>\n " ,
10
- " <br>\n " ,
10
+ " <br>\n " ,
11
11
" The dots represent spaces.<br>\n " ,
12
12
" Input format :<br>\n " ,
13
13
" Integer N (Total no. of rows)<br>\n " ,
21
21
" Sample Input 1:<br>\n " ,
22
22
" 5<br>\n " ,
23
23
" Sample Output 1:<br>\n " ,
24
- " <br>\n " ,
24
+ " <br>\n " ,
25
25
" Sample Input 2:<br>\n " ,
26
26
" 4<br>\n " ,
27
27
" Sample Output 2:<br>\n " ,
28
- " "
28
+ " "
29
29
]
30
30
},
31
31
{
Original file line number Diff line number Diff line change 7
7
" # Number Pattern\n " ,
8
8
" Print the following pattern for n number of rows.<br>\n " ,
9
9
" For eg. N = 5<br>\n " ,
10
- " <br>\n " ,
10
+ " <br>\n " ,
11
11
" Sample Input 1 :<br>\n " ,
12
12
" 4<br>\n " ,
13
13
" Sample Output 1 :<br>\n " ,
14
- " "
14
+ " "
15
15
]
16
16
},
17
17
{
Original file line number Diff line number Diff line change 8
8
" Print the following pattern for the given number of rows.<br>\n " ,
9
9
" <br>\n " ,
10
10
" Pattern for N = 4<br>\n " ,
11
- " <br>\n " ,
11
+ " <br>\n " ,
12
12
" Input format : N (Total no. of rows)<br>\n " ,
13
13
" <br>\n " ,
14
14
" Output format : Pattern in N lines<br>\n " ,
15
15
" <br>\n " ,
16
16
" Sample Input :<br>\n " ,
17
17
" 5<br>\n " ,
18
18
" Sample Output :<br>\n " ,
19
- " <br>\n " ,
19
+ " <br>\n " ,
20
20
" Note.The dots represent spaces."
21
21
]
22
22
},
Original file line number Diff line number Diff line change 7
7
" # Zeros and Stars Pattern\n " ,
8
8
" Print the following pattern<br>\n " ,
9
9
" Pattern for N = 4<br>\n " ,
10
- " <br>\n " ,
10
+ " <br>\n " ,
11
11
" Input Format : N (Total no. of rows)<br>\n " ,
12
12
" <br>\n " ,
13
13
" Output Format : Pattern in N lines<br>\n " ,
14
14
" <br>\n " ,
15
15
" Sample Input 1 :<br>\n " ,
16
16
" 3<br>\n " ,
17
17
" Sample Output 1 :<br>\n " ,
18
- " <br>\n " ,
18
+ " <br>\n " ,
19
19
" Sample Input 2 :<br>\n " ,
20
20
" 5<br>\n " ,
21
21
" Sample Output 2 :<br>\n " ,
22
- " "
22
+ " "
23
23
]
24
24
},
25
25
{
Original file line number Diff line number Diff line change 8
8
" Print the following pattern for the given number of rows.\n " ,
9
9
" <br>Note: N is always odd.\n " ,
10
10
" <br><b>Pattern for N = 5</b><br>\n " ,
11
- " <br>\n " ,
11
+ " <br>\n " ,
12
12
" <b>The dots represent spaces.</b><br>\n " ,
13
13
" Input format :<br>\n " ,
14
14
" N (Total no. of rows and can only be odd)<br>\n " ,
Original file line number Diff line number Diff line change 9
9
" <br>\n " ,
10
10
" **Note - Dot Represent Spaces**<br>\n " ,
11
11
" For eg. N = 6<br>\n " ,
12
- " \n " ,
12
+ " \n " ,
13
13
" <br>\n " ,
14
14
" Sample Input 1 :<br>\n " ,
15
15
" 4<br>\n " ,
16
16
" Sample Output 1 :<br>\n " ,
17
- " "
17
+ " "
18
18
]
19
19
},
20
20
{
Original file line number Diff line number Diff line change 7
7
" # Print the pattern\n " ,
8
8
" Print the following pattern for the given number of rows.<br>\n " ,
9
9
" <b>Pattern for N = 5</b><br>\n " ,
10
- " <br>\n " ,
10
+ " <br>\n " ,
11
11
" Input format : N (Total no. of rows)<br>\n " ,
12
12
" <br>\n " ,
13
13
" Output format : Pattern in N lines<br>\n " ,
You can’t perform that action at this time.
0 commit comments