Page 101 - modular4.0
P. 101

4           WORKSHEET                                                   Chapter Profile



                             (Based on chapters 7 & 8)


                 A.   Which expressions are the following emoticons used for?
                     1.  :@

                      2.  |-)

                      3.  :’(

                      4.  :$

                      5.  =O

                      6.  :))

                      7.  :I

                      8.  :(
                 B.   Write a Python program to calculate the area of a rectangle.


















                 C.   Find the error in the given codes.

                      1.  p, qr = 10, 20, 30
                         print(p, q, r)








                      2.  var1 = 1

                         var2 = 2

                         var1 = 3
                         print(var1 var2 + var3)










                                                                                                       Worksheet 4   99
   96   97   98   99   100   101   102   103   104   105   106