Write the data type for the following:
Q3) Which command is used to find the data type of variables? Give one eg. of the command.
1. 78.98
2. “Python” 3. 34
4. -98
5. -97.6
______________
______________
______________
______________
______________
Answers
Answered by
4
Answer:
1. float
2. string
3. integer
4. integer
5. Floating-point number.
Explanation:
To check the type of any variable data type, we can use the type() function.
int (signed integers like 10, 2, 29, etc.)
long (long integers used for a higher range of values like 908090800L, -0x1929292L, etc.)
float (float is used to store floating point numbers like 1.9, 9.902, 15.2, etc.)
complex (complex numbers like 2.14j, 2.0 + 2.3j, etc.)
Mark me as the brainliest
Similar questions