Page 134 - Plus V4 with Adobe class 6
P. 134

e.  a = 4

                     b = 11

                     print(a or b)
                     print(a > 2)
                2.  Rewrite the statements correctly.

                   a.  Print "Sum is ", (sum)

                   b.  print('Orange Education') @Adding Value to Education


                3.  Surf the Internet and find more information about operators precedence.
                4.  Competency-based/Application-based questions:

                   a.   Sonam has created a Python program on various operators taught in the chapter. Her teacher
                      asked her to give proper explanation of each operator in the program without displaying it on the
                      output screen. How can this be possible? Which feature of Python can she use to do so?

                   b.   Your friend is working on his maths assignment and he has to do some quick calculations. But he
                      is unable to understand which mode of Python he should use. Suggest him the mode to Python to
                      do so.



                 DIY In The Lab                                            Century   #Information Literacy
                                                                              21 st
                                                                                 #Technology Literacy
                                                                             Skills
         To
         Subject   Coding

           Write a Python program to:

           1.  convert Celsius to Fahrenheit using the formula:  (Celsius * 1.8) + 32
           2.  convert kilometre unit to metre
           3.  input five names from the user and display them
           4.  add two numbers






        For The Teacher
            Discuss about Python programming modes with the students.
            Go through all the other topics covered in this chapter.
            Tell the students about the importance of Python.
















            132  Plus (Ver. 4.0)-VI
   129   130   131   132   133   134   135   136   137   138   139