Page 72 - KEC Khaitan C7 Flipbook
P. 72

COding Zone       COding Zone    {}      =     COding Zone
                                 {C ding z ne}
                                                                                                 #Critical Thinking
                                                                                             21 st
                                                                                           Century
                                                                                                 #Technology Literacy
                                                                                             Skills
                                                                           </>
                      1.  Find the Output of the Following Python Code:
                          a.  print("Hello, World!")
                          b.  a = 5
                             b = 10

                          print(a + b)
                          c.  a = 4

                          b = 2
                          print(a ** b)
                          d.  print(9//2)

                          e.  a, b = 10, 20
                          c =  a + b
                          print("c is :",c)
                      2.  Correct the Errors in the Following Python Code:
                          a.  print("Hello, World!)
                          b.  a = "Hello

                             Print(a)
                          c.  a= "Hello!"
                             b= 'Friends"

                          print(a,b)




                     FOR THE TEACHER
                    1.   Demonstrate the Python programming modes to the students.
                    2.   Discuss with students about the Python and its features.
































                   70   Premium Edition-VII
   67   68   69   70   71   72   73   74   75   76   77