0% found this document useful (0 votes)
111 views

Pattern Program

The document contains multiple questions asking for code to print various numeric and alphabetic patterns. The patterns include triangles, diamonds, rectangles and other shapes using numbers or letters. Responses provided code solutions for each requested pattern in the Python programming language.

Uploaded by

rohit
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
111 views

Pattern Program

The document contains multiple questions asking for code to print various numeric and alphabetic patterns. The patterns include triangles, diamonds, rectangles and other shapes using numbers or letters. Responses provided code solutions for each requested pattern in the Python programming language.

Uploaded by

rohit
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

b Q:-What will be the code to print the following pattern...

1
23
456
7 8 9 10
Q:-plz get me the code for this
1
3*2
4*5*6
10*9*8*7
11*12*13*14*15
Q:-plz tell me how to print the pattern as follows
123
456
789
Q:-How to do this pattern.........? please reply fast
12345 54321
1234 4321
123 321
12 21
11
Q:-sir can you please give the code for the following pattern
5432112345
4321 1234
321 123
21 12
11
Q:- can you please give the coding for
54321
-- 5 4 3 2
------5 4 3
---------5 4
------------5
---------5 4
------5 4 3
---5 4 3 2
54321
Q:- can any one tell me the code for S shape
*******
*
*******
*
*******

Q:- Pls let me know the code for the following pattern..
11111
10001
10001
10001
11111
Q:-WAP to make this code..??
-------- 1
------2 1 2
--- 3 2 1 2 3
--4 3 2 1 2 3 4
543212345
-- 4 3 2 1 2 3 4
- --- 3 2 1 2 3
- - ---- 2 1 2
-- -- ---- 1
Q:- sir can you give the coding for
1
21
321
4321
54321

Q:- Thank you sir for fast reply its very much helpful. can you please give the coding for
54321
5432
543
54
5
54
543
5432
54321
Q:-Help me with this
*1
*23
*456
*78910
*111213
Q:-what will be the output of below pattern
enter a number example 6

the pattern is 1 1 1 1 1 2
322222
333334
and so on
Q:-Code for
1
12
12
123
1234
1234
1234
12345
123456
123456
123456
123456
1234567
12345678
12345678
12345678
Q:--what will be the code for madam
D
ADA
M AD AM
M AD AD AM
M AD AM AD AM
M AD AD AM
M AD AM
ADA
D
Q:-What will be the code for this pattern:
11
12 21
123 321
1234 4321
1234554321
Q:-what will be the code for
12345
2345
345
45
5
Q:-Can u pls help me in printing following pattern

if input=4
4444
333
22
1
22
333
4444
Q:- Pls let me know the code for the following pattern.
1
2*2
3*3*3
4*4*4*4
4*4*4*4
3*3*3
2*2
1
Q:- Code for this pattern is:
1
2*2
3*3*3
4*4*4*4
4*4*4*4
3*3*3
2*2
1
Q:- can u plz help me with:
55555
54444
54333
54322
54321
Q:- can u give me the code for the following pattern
****
**
****
*
Q:- can u get me the code for the following patterns please
1
23
456
7 8 9 10
and the other pattern is
7 8 9 10
456

23
1
Q:- What will be the code for the following
13579
35791
57813
79135
91357

Q:- can u plz write ur code for this pattern


1
22
333
4444
55555
4444
333
22
1
Q:-print this code
55555
54444
53333
52222
51111
Q:-how to print this
1
31
531
7531
97531
Q:-WAP to print this code if input:amit is a good boy
aiagb
ms*oo
i**oy
t**d*
Q:-WAP to print this ?
s
se
sec

sect
secto
sector

Q:-WAP to print this code?


.......................................................................1
....................................................................2 3 2
.................................................................3 4 5 4 3
..............................................................4 5 6 7 6 5 4

Q:-WAP to print this ?


.................................................1
..............................................1 2 1
...........................................1 2 3 2 1
........................................1 2 3 4 3 2 1
......................................1 2 3 4 5 4 3 2 1
Q:-sir will you will please give the codin gfor this pattern as soon as possible
a
abc
abcde
abcdefg
abcdefghi
abcdefghijk
Q:- WAP to print this??
1
121
12321
1234321
Q:-can you please write code for this pattern.
---------------------------------------1
-------------------------------------1 1
-----------------------------------1 3 3 1
----------------------------------1 4 6 4 1
-------------------------------1 5 10 10 5 1
Q:-Solve it..??
1
11

112
1123
11235
112358

You might also like