C-16-Q045mediumsingle_mcq
In Age = 45.50, the data type of Age is:
In Age = 45.50, the data type of Age is:
- aint
- bfloat
- cstr
- dbool
ব্যাখ্যা
The value 45.50 has a decimal point, so Python stores Age as a float. Any number with a fractional part is automatically of float type.