C-16-Q144mediumsingle_mcq
After a = 5 and a = 'five', what data type does a now hold?
After a = 5 and a = 'five', what data type does a now hold?
- aint
- bfloat
- cstr
- dbool
ব্যাখ্যা
The most recent assignment sets a to 'five', a value in quotes, so a now holds a string. Because Python is dynamically typed, the earlier integer type is replaced.