Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 117 - 2612_Digimind
P. 117

    TOKENS AND DATA                                                                          CHAPTER

                     TYPES IN PYTHON                                                                            8

                                  Hi Shweta,  today  we’re going  to
                                  learn about Tokens and Data Types             Topics Covered                      95%
                                  in Python, which help the computer               Python Character Set
                                  understand our programs.                         Python Tokens
                                                                                   Data Types
                                                                                   Operators
                                                                                   Errors in Python Programs
                                                                                   Some More Programs

                     That sounds interesting, Techie!
                     What are tokens in Python?

                                    Tokens are the smallest elements of a program, Shweta, like keywords, identifiers,
                                    operators and values.

                                                           Techie, do data types tell Python what kind of
                                                           data we are using?

                                    Yes, Shweta. Let’s learn more about tokens and different data types in
                                    this chapter.

                                                                                        Tokens and Data Types in Python  115

| 112 113 114 115 116 117 118 119 120 121 122 |