Hello friends, Welcome to our website. Today we will talk about Data Types and its Types in Python.
To Understand this topic you just go through my old Post about Python. They are as follows:-
Data can be of many types e.g., integer, character, real, string, etc. Anything enclosed in quotes represents string data in Python. Numbers without fractions represent integer data. Numbers with fractions represent real data and True and False represent Boolean data. Since the data to be dealt with are of many types, a programming language must provide ways and facilities to handle all types of data.
Before you learn how you can process different types of data in Python, let us discuss various data-types supported in Python. In this discussion of data types, you'll be able to know Python's capabilities to handle a specific type of data, such as the memory space it allocates to hold a certain type of data and the range of values supported for a data type, etc.
Python offers following built-in core data types :
(i). Numbers
(ii). String
(iii). List
(iv). Tuple
(v). Dictionary
#In this post we will talk about Numbers and its types.
Numbers
As it is clear by the name the Number data types are used to store numeric values in Python. The Numbers in Python have the following core data types :
(i). Integers
▶️ Integers (signed)
▶️ Boolean
(ii). Floating-Point Numbers
(iii). Complex Numbers
Jai Hind!!!!
Vande Mataram!!!
No comments:
Post a Comment
If you have any doubts, please do let me Know.