Posts

Showing posts with the label variable and data type in python

What are the 4 data types in Python?

Image
Data Type?  Data types are the bracket or categorization of data particulars. It represents the kind of value that tells what operations can be performed on a particular data. Since everything is an object in Python programming, data types are actually classes and variables are case( object) of these classes.     Following are the standard or erected- in data type of Python  Numeric   Sequence Type   Boolean   Set  Dictionary  Numeric In Python, numeric data type represent the data which has numeric value. Numeric value can be integer, floating number or even complex numbers. These values are defined as int, float and complex class in Python. Integers – This fee is represented with the aid of using int class. It includes nice or poor complete numbers (with out fraction or decimal). In Python there may be no restrict to how lengthy an integer fee can be. Float – This fee is represented with the aid of using flow class. It...