Advertisements
Advertisements
प्रश्न
State True or False:
In Python, data type of 74 is same as the data type of 74.0.
सत्य या असत्य
Advertisements
उत्तर
This statement is false.
Explanation:
In Python, 74 is an Integer (int) because it is a whole number without a decimal point. On the other hand, 74.0 is a Floating-point number (float) because it contains a decimal point, even though its value is equivalent to an integer.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
