Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 123 - Gujrati Play V2.0 Class 8 Flipbook
P. 123

    ík{Lku Lke[u {wsçk ykWxÃkwx {¤þu:

                         Output

                      Number is: 0
                      Number is: 1
                      Number is: 2
                      Number is: 3
                      Number is: 4
                      Number is: 5
                      Number is: 6
                      Number is: 7
                      Number is: 9
                      Number is: 10
                      Number is: 11
                      Out of loop

                        fux÷kf ðÄw fkÞo¢{ku

                      «kuøkúk{ 9: Vkuh ÷qÃkLkku WÃkÞkuøk fheLku Lktçkh ÃkuxLko çkLkkððe.

                     3
                                                       Program9.py
                     33
                     333                            File  Edit  Format   Run   Options   Window     Help
                     3333
                                                    #Program to create number pattern using for loop
                     33333
                                                    for i in range(1,10):
                     333333
                     3333333                            print('3' * i)
                     33333333
                     333333333
                     ík{Lku Lke[u {wsçk ykWxÃkwx {¤þu:

                         Output

                      3
                      33
                      333
                      3333
                      33333
                      333333
                      3333333
                      33333333
                      333333333

                                                                                                      ÃkkÞÚkkuLk{kt ÷qÃk  121

| 118 119 120 121 122 123 124 125 126 127 128 |