000001 Lecture Notes - Tuple, Scientific Notation, Octal
Document Summary
Data types are the classification or categorization of data items. Python datatypes: in data types: scalar types. Int: float, complex, bool, none, sequence type. A sequence is an ordered collection of similar or different data types. Data objects of the above types are stored in a computer"s memory for processing. Some of these values can be modified during processing, but contents of others can"t be altered once they are created in the memory. Numbers, strings, and tuples are immutable, which means their contents can"t be altered after creation. On the other hand, items in a list or dictionary object can be modified. (mutable) It is possible to add, delete, insert, and rearrange items in a list or dictionary. Python includes three numeric types to represent numbers: integers, float, and complex number.