2. Which of these is not a data type in Python
a. int (integer)
b. float(floating point number)
c. Dim (Decimal integer)
d. str (string)
3. In Python each data type is considered as a
a. Library
b. Attribute
d. Object
C. Class
Answers
Answered by
7
option
d) str
3)...
a) attributes
Answered by
1
Answer:
Which of these is not a data type in Python
c. character
In Python, each data type is considered as a
b. class
Explanation:
Python is not a statically typed language so the data type of the variable is not written by the programmer.
- Python is one of the most famous languages because it has many in-built functions and rich libraries.
- Python has an integer, floating, boolean, and string data type. But python does not have a character data type.
- Now you might ask if we write character = "a".Then what it is.
- Well, this is also a string that has a length of 1.
- Each data type is considered a class.
- You can check this also by using the type. Each data type is returned with its respective class.
#SPJ2
Similar questions