Variable as an entity has been introduced. It can be an integer, a number—real or complex, a string of characters or results of operations carried out with them. The built-in functions in Python are the commonly used ones with variables. These can be algebraic or logical ones represented by identified symbols or names. Significance of keywords has been brought out. Formation of strings and simple direct printing (being needed with many programs) are explained through illustrations. The exercises at the end of the chapter help in practice and build up of confidence in using Python.
KeywordsAlgebraic Expression Floating Point Complex Quantity Decimal Number Type Query
- van Rossum G, Drake FL Jr (2014a) The Python language reference. Python software foundationGoogle Scholar
- van Rossum G, Drake FL Jr (2014b) The Python library reference. Python software foundationGoogle Scholar
- van Rossum G, Drake FL Jr (2014c) Python tutorial. Python software foundationGoogle Scholar