Posts

Showing posts from September, 2019

DATA TYPES IN PYTHON

In python  there are different basic data types .These are used to store the  data in memory and these can of different data types. FOR EXAMPLE: 1) Any person age can be stored as a numeric value i.e. integer type. 2) Any person name can be stored as alphabets i.e. string type and his address is stored as alphanumeric characters. Python has the following standard data types: Integer String List Tuple Dictionary PYTHON INTEGERS Integer store the numeric values. The number objects are created for integer datatype when you assign value for them. for example :    a=12, b=20 Here 12 & 20 is the numeric values that are stored in the a &b number objects . We can also delete the reference to a number object by using the del statements for example:  del a,b It will the delete the objects and when you try to access these values of a and b ,it will show run time error or not defined here in the syntax. It supports four different numerical types: