Introduction to Python - ISC Class 11 Computer Science Notes, Diagrams and Solved Questions
Getting started with Python: its features, installing it and choosing an IDE, interactive and script modes, comments, the character set and tokens, variables with l-values and r-values, data types, mutable and immutable types, console input and output, and syntax, run-time and logical errors.
In this chapter
The main features of Python and how to install it and pick an IDE
The difference between interactive mode and script mode, and how to write comments
Python's character set and the five kinds of tokens, with the rules for identifiers
Creating variables, and what l-values and r-values are
Python's data types: int, float, complex, bool, str, list, tuple, None and dict
Which types are mutable and which are immutable
Reading input with input(), printing with sep and end, and telling syntax, run-time and logical errors apart