Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 87 - Math_Genius_1 2
P. 87

    LVsi 3  File ij fDyd djsa → Save As [kksyus osQ fy,
                                                                              Save as Mk;ykWx ckWDlA
                                                                               +
                                                                      LVsi 4   kQkby dk uke Vkbi djus osQ ckn Save ij fDyd
                                                                              I
                                                                              djsaA
                                                                      LVsi 5   izksxzke ju djus osQ fy, Run → Run ModuleA
                                                                              ;k

                                                                       dhcksMZ ij F5 dh nck,¡A

                                 +
                                IkQkby lso djuk (Saving a file)

                                 ekWM~;wy ju djuk (Running a module)       vkmViqV ns[kuk (Viewing the output)
                     vkmViqV ik;Fku 'ksy (Python Shell) foaMks esa fn[kkbZ nsxkA

                     fjys'kuy vkWijsVj (Relational Operator)
                     ;s vkWijsVj ek=kkvksa dh rqyuk djus esa enn djrs gSa vkSj ifj.kkeLo:i cwfy;u eku ^lR;* ;k ^xyr* ykSVkrs gSaA
                       vkWijsVj                   o.kZu                    flaVSDl            mnkgj.k           vkmViqV

                                 bldk mi;ksx nks ewY;ksa osQ chp lekurk dh          >>> ‘ABC’ == ‘ABC’            lR;
                         ==      tk¡p osQ fy, fd;k tkrk gSA               (a == b)  >>> ‘ABC’ == ‘XYZ’           vlR;

                                 ;g vkWijsVj nks ekuksa osQ chp xSj&lekurk dh       >>> ‘ABC’!=‘abc’              lR;
                          !=                                              (a != b)
                                 tk¡p djrk gSA                                      >>> ‘ABC’!=‘ABC’             vlR;

                                 ;g vkWijsVj tk¡prk gS fd igyk eku nwljs            >>>(11 > 2)                   lR;
                          >                                               (a > b)
                                 eku ls cM+k gS ;k ughaA                            >>>(11 > 13)                 vlR;
                                 bl vkWijsVj dk mi;ksx ;g tk¡pus osQ fy,            >>>(15 < 5)                  vlR;

                          <      fd;k tkrk gS fd igyk eku nwljs eku ls    (a < b)                                 lR;
                                 de gS ;k ughaA                                     >>>(15 < 20)

                                 bl vkWijsVj dk mi;ksx ;g tk¡pus osQ fy,
                                                                                    >>>(22 > = 22)                lR;
                         >=      fd;k tkrk gS fd igyk eku nwljs eku ls  (a >= b)                                  lR;
                                 vf/d ;k mlosQ cjkcj gS ;k ughaA                    >>>(22 > = 19)
                                 bl vkWijsVj dk mi;ksx ;g tk¡pus osQ fy,
                                                                                    >>>(27 < = 26)               vlR;
                         <=      fd;k tkrk gS fd igyk eku nwljs eku ls  (a < = b)                                 lR;
                                 de ;k mlosQ cjkcj gS ;k ughaA                      >>>(30 < = 31)

                                                                                                  ik;Fku dk ifjp;   85

| 82 83 84 85 86 87 88 89 90 91 92 |