Page 37 -
P. 37

1   meet python





                                          Everyone loves lists








                                   Yes, yes...we have lots
                                   of Pythons in stock... I’ll
                                   just make a quick list.































                      You’re asking one question: “What makes Python different?”
                      The short answer is: lots of things. The longer answers starts by stating that there’s lots
                       that’s familiar, too. Python is a lot like any other general-purpose programming language,
                       with statements, expressions, operators, functions, modules, methods, and classes.
                       All the usual stuff, really. And then there’s the other stuff Python provides that makes
                       the programmer’s life—your life—that little bit easier. You’ll start your tour of Python by
                       learning about lists. But, before getting to that, there’s another important question that
                       needs answering…


                                                                                    this is a new chapter    1
   32   33   34   35   36   37   38   39   40   41   42