NESTEDLOOP

PYTHON PROGRAMS

(NESTED LOOPS)

(CLASS : XI)



list of nested-loop questions
S.No.List of Programms
Q1.Write a Program to display square pattern
*******
*******
*******
*******
*******
*******
DOWNLOADPDF FILEPYTHON FILE
List of More Questions for practice using concept of above program
DownloadWrite a Program to display hollow square pattern
*******
*          *
*          *
*          *
*          *
*******
DownloadWrite a Program to display square pattern
*******
++++++
*******
++++++
*******
DownloadWrite a Program to display rhombus square pattern
          *******
        *******
      *******
    *******
  *******
*******
DownloadWrite a Program to display mirror rhombus square pattern

*******
  *******
    *******
      *******
        *******
          *******
DownloadWrite a Program to display right triangle
*
**
***
****
*****
******
*******
DownloadWrite a Program to display left triangle
            *
          **
        ***
      ****
    *****
  ******
*******
DownloadWrite a Program to display invert right triangle
*******
******
*****
****
***
**
*
DownloadWrite a Program to display invert left triangle.
*******
  ******
    *****
      ****
        ***
          **
            *
DownloadWrite a Program to display pyramid star
          *
        ***
      *****
    *******
  *********
***********
DownloadWrite a Program to display invert pyramid

***********
  *********
    *******
      *****
        ***
          *
DownloadWrite a Program to display hollow pyramid star
          *
        *  *
      *      *
    *          *
  *              *
***********
DownloadWrite a Program to display number pattern
1111111
1111111
1111111
1111111
1111111
DownloadWrite a Program to display number pattern
1 1 1 1 1
00000
1 1 1 1 1
00000
1 1 1 1 1
DownloadWrite a Program to display number system
0 1 0 1 0 1
0 1 0 1 0 1
0 1 0 1 0 1
0 1 0 1 0 1
0 1 0 1 0 1
DownloadWrite a Program to display number system
1 1 1 1 11
100001
100001
100001
1 1 1 1 11
DownloadWrite a Program to display number pattern
12345
12345
12345
12345
12345
DownloadWrite a Program to display number pattern
1
12
123
1234
12345
123456
DownloadWrite a Program to display number pattern
          1
        12
      123
    1234
  12345
123456
DownloadWrite a Program to display number pattern
          1
        21
      321
    4321
  54321
654321
DownloadWrite a Program to display number pattern
123456
12345
1234
123
12
1
DownloadWrite a Program to display number pattern
654321
  54321
    4321
      321
        21
          1
DownloadWrite a Program to display number pattern
        1
      121
    12321
  1234321
123454321
DownloadWrite a Program to display number pattern
        1
      212
    32123
  4321234
543212345


Followers

Popular Posts

Recent Posts