DATA TYPES IN PYTHON

 

STANDARD DATATYPES

Data types are the classification of categorization of data items which represents the kind of value that tells what operations can be performed on a particular data. The data stored in memory can be of many types. For example, a person’s name is stored as an alphabetic value and his address is stores as an alphanumeric value. Sometimes we also need to store answer in terms of only ‘yes’ or ‘no’ , i.e. true or false(This type of data is known as Boolean data).

Python has six basic data types, which is as follows:

1. Numeric

2. String

3. List

4. Tuple

5. Dictionary

6. Boolean


Comments

Popular posts from this blog

Computer Science Lecture Notes for Degree Students

COMMENTS, IDENTIFIERS AND KEYWORDS IN PYTHON