Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 104 - Gujrati Play V2.0 Class 6 Flipbook
P. 104

    ytføkrýík ykuÃkhuxhku

                      ytføkrýík ykuÃkhuxhku çku ykuÃkhuLz ðå[u ytføkrýík fk{økehe fhu Au. ytføkrýík ykuÃkhuxhku Lke[uLkk fkuüf{kt ÔÞkÏÞkrÞík fhðk{kt ykÔÞk
                      Au :

                                                                                                      WËknhý
                         ykuÃkhuxh       Lkk{                            ðýoLk                       (x=7 yLku    ykWxÃkwx
                                                                                                       y=3)

                           +       W{uhku            ykuÃkhuxhLke çktLku çkkswyu {qÕÞku W{uhu Au.      x + y        10

                           –       çkkËçkkfe         zkçkk nkÚkLkk ykuÃkhuLz{ktÚke s{ýk nkÚkLkk ykuÃkhuLz çkkË   x – y  4
                                                     fhu Au.

                           *       økwýkfkh          ykuÃkhuxhLke çktLku çkkswLkk {qÕÞkuLkku økwýkfkh fhu Au.  x * y  21

                           /       ¼køkkfkh          zkçkk nkÚkLkk ykuÃkhuLzLku s{ýk nkÚkLkk ykuÃkhuLzÚke rð¼kSík   x / y  2.33
                                                     fhu Au.

                           %       {kuzâw÷Mk         zkçkk nkÚkLkk ykuÃkhuLzLku s{ýk nkÚkLkk ykuÃkhuLzÚke rð¼kSík   x % y  1
                                                     fhu Au yLku þu»k Ãkhík fhu Au.

                           **      ½kíkefhý          ykuÃkhuLz Ãkh ½kíkktfeÞ (þÂõík) økýíkhe fhu Au.   x ** y       343

                           //      ÃkqýkOf ¼køkkfkh  Ãkrhýk{{ktÚke yÃkqýkOf ¼køkLku rð¼kSík fhu Au yLku fkÃku   x // y  2
                                                     Au.

                      «kuøkúk{ 1: çkÄe ytføkrýík r¢Þkyku fhðk {kxu

                          Program1.py

                       File  Edit  Format   Run    Options   Window    Help

                       #example of arithmetic operators
                       a = 9
                       b = 4
                       add = a + b  # addition
                       sub = a - b  #subtraction
                       mul = a * b  #multiplication
                       div - a / b  #division
                       #floor division
                       div1 = a // b
                       #modulus
                       mod = a % b
                       #power
                       power = a ** b
                       #print results
                       print (add)
                       print (sub)
                       print (mul)
                       print (div)
                       print (div1)
                       print (mod)
                       print (power)

                      102       Play (Ver. 2.0)-VI

| 99 100 101 102 103 104 105 106 107 108 109 |