Page 122 - Touchpad_Plus_V3.2_Class 6
P. 122

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


                      4.  var1 = 1

                           var2 = 2
                           var3 = 3
                           print(var1 + var2 + var3)
                      5.  a = 4
                           b = 11
                           print(a or b)

                           print(a > 2)


                                                                                                   21 st   #Technology Literacy
                    Lab Session                                                                 Century
                                                                                                  Skills


                    Write a 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.
                    4.  Calculate the area of a square.



                  Teacher's Note


                    1.  Discuss about Python programming modes with the students.
                    2.  Go through all the other topics covered in this chapter.
                    3.  Tell to the students about the importance of Python.































               120      Plus (Ver. 3.2)-VI
   117   118   119   120   121   122   123   124   125   126   127