Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 150 - 2612 Digimind C6
P. 150

    COding Zone       COding Zone     {}      =     COding Zone
                                     {C ding z ne}
                                                                                                 21 st
                                                                                                    #Critical Thinking
                                                                                               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)

                            CAREER HERE
                      People who are experts in Python may pursue their careers as software developers.

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

                      148   Premium Edition-VI

| 145 146 147 148 149 150 151 152 153 154 155 |